Skip to content

Commit

Permalink
Added scenario to receive from date/time offset from Event Hubs in Wi…
Browse files Browse the repository at this point in the history
…nRT project
  • Loading branch information
ppatierno committed Nov 1, 2015
1 parent 96cb053 commit a2ebc71
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions Scenarios/WinRT/MainPage.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ public sealed partial class MainPage : Page
static string EVENT_HUB_PARTITION_ID = "[EVENT_HUB_PARTITION_ID]";
static string EVENT_HUB_PARTITION_KEY = "[EVENT_HUB_PARTITION_KEY]";
static string EVENT_HUB_PARTITION_OFFSET = "[EVENT_HUB_PARTITION_OFFSET]";
static DateTime EVENT_HUB_PARTITION_DATE_TIME_OFFSET;
static string EVENT_HUB_PUBLISHER_NAME = "[EVENT_HUB_PUBLISHER_NAME]";

static string QUEUE_SEND = "[QUEUE_SEND]";
Expand Down Expand Up @@ -82,13 +83,18 @@ public MainPage()
EVENT_HUB_PARTITION_ID,
EVENT_HUB_PARTITION_OFFSET);

scenarios.Scenario8_QueueSend(QUEUE_SEND);
scenarios.Scenario8_EventHubReceiveFromPartitionDateTimeOffset(
EVENT_HUB_NAME,
EVENT_HUB_PARTITION_ID,
EVENT_HUB_PARTITION_DATE_TIME_OFFSET);

scenarios.Scenario9_QueueSend(QUEUE_SEND);

scenarios.Scenario9_QueueRequestResponse(
scenarios.Scenario10_QueueRequestResponse(
QUEUE_SEND,
QUEUE_REPLYTO);

scenarios.Scenario11_TopicSend(
scenarios.Scenario12_TopicSend(
TOPIC_SEND,
SUBSCRIPTION_ONE,
SUBSCRIPTION_TWO);
Expand Down

0 comments on commit a2ebc71

Please sign in to comment.