Esempio n. 1
0
 public override EventHubRuntimeInformation GetRuntimeInformation()
 {
     AmqpEventHubClient.GetRuntimeInfoAsyncResult getRuntimeInfoAsyncResult = new AmqpEventHubClient.GetRuntimeInfoAsyncResult(this, this.OperationTimeout, null, null);
     return(getRuntimeInfoAsyncResult.RunSynchronously().RuntimeInfo);
 }
Esempio n. 2
0
 private IAsyncResult BeginGetRuntimeInfo(TimeSpan timeout, AsyncCallback callback, object state)
 {
     AmqpEventHubClient.GetRuntimeInfoAsyncResult getRuntimeInfoAsyncResult = new AmqpEventHubClient.GetRuntimeInfoAsyncResult(this, timeout, callback, state);
     getRuntimeInfoAsyncResult.Start();
     return(getRuntimeInfoAsyncResult);
 }