void OnResolveCompleted(ResolveCompletedEventArgs args) { if (ResolveCompleted != null) { ResolveCompleted(this, args); } }
void ResolveCompleted(object sender, ResolveCompletedEventArgs e) { if (e.Error != null) { throw e.Error; } try { this.endpointDiscoveryMetadata = e.Result.EndpointDiscoveryMetadata; } catch (Exception exception) { this.Complete(false, exception); } }
void OnResolveCompleted (ResolveCompletedEventArgs args) { if (ResolveCompleted != null) ResolveCompleted (this, args); }