コード例 #1
0
 protected override void OnClose(TimeSpan timeout)
 {
     EventHubConsumerGroup.CloseOrAbortAsyncResult closeOrAbortAsyncResult = new EventHubConsumerGroup.CloseOrAbortAsyncResult(this, false, timeout, null, null);
     closeOrAbortAsyncResult.RunSynchronously();
 }
コード例 #2
0
 protected override void OnAbort()
 {
     EventHubConsumerGroup.CloseOrAbortAsyncResult closeOrAbortAsyncResult = new EventHubConsumerGroup.CloseOrAbortAsyncResult(this, true, TimeSpan.MaxValue, null, null);
     closeOrAbortAsyncResult.RunSynchronously();
 }