public static string GetToAddress(this OutboundBrokeredMessage outboundBrokeredMessage)
 {
     return((string)outboundBrokeredMessage.GetApplicationPropertyByKey(ASBHeaders.To));
 }
 public static string GetPartitionKey(this OutboundBrokeredMessage outboundBrokeredMessage)
 {
     return((string)outboundBrokeredMessage.GetApplicationPropertyByKey(ASBHeaders.PartitionKey));
 }
 public static DateTime?GetScheduledEnqueueTimeUtc(this OutboundBrokeredMessage outboundBrokeredMessage)
 {
     return((DateTime?)outboundBrokeredMessage.GetApplicationPropertyByKey(ASBHeaders.ScheduledEnqueueTimeUtc));
 }