public void OnTopicAddFailed(string topicPath, TopicAddFailReason reason) { OnFailure(EventArgs.Empty); }
public void OnTopicAddFailed(string topicPath, TopicAddFailReason reason) { OnFailure(EventArgs.Empty); }
/// <summary> /// An attempt to add a topic has failed. /// </summary> /// <param name="topicPath">The topic path as supplied to the add request.</param> /// <param name="reason">The reason for failure.</param> public void OnTopicAddFailed(string topicPath, TopicAddFailReason reason) { theCompletionSource.SetException( new Exception(string.Format("Failed to add topic {0} because of '{1}", topicPath, reason))); }
/// <summary> /// An attempt to add a topic has failed. /// </summary> /// <param name="topicPath">The topic path as supplied to the add request.</param> /// <param name="reason">The reason for failure.</param> public void OnTopicAddFailed( string topicPath, TopicAddFailReason reason ) { theCompletionSource.SetException( new Exception( string.Format( "Failed to add topic {0} because of '{1}", topicPath, reason ) ) ); }
/// <summary> /// This is called to notify that an attempt to add a topic has failed. /// </summary> /// <param name="topicPath">The topic path as supplied to the add request.</param> /// <param name="reason">The reason for failure.</param> public void OnTopicAddFailed(string topicPath, TopicAddFailReason reason) { Error = new Exception(string.Format("Failed to add topic {0} : '{1}", topicPath, reason)); resetEvent.Set(); }
/// <summary> /// An attempt to add a topic has failed. /// </summary> /// <param name="topicPath">The topic path as supplied to the add request.</param> /// <param name="reason">The reason for failure.</param> public void OnTopicAddFailed(string topicPath, TopicAddFailReason reason) { theSession.Close(); }
/// <summary> /// An attempt to add a topic has failed. /// </summary> /// <param name="topicPath">The topic path as supplied to the add request.</param> /// <param name="reason">The reason for failure.</param> public void OnTopicAddFailed( string topicPath, TopicAddFailReason reason ) { theSession.Close(); }
/// <summary> /// This is called to notify that an attempt to add a topic has failed. /// </summary> /// <param name="topicPath">The topic path as supplied to the add request.</param> /// <param name="reason">The reason for failure.</param> public void OnTopicAddFailed( string topicPath, TopicAddFailReason reason ) { Error = new Exception( string.Format( "Failed to add topic {0} : {1}", topicPath, reason ) ); resetEvent.Set(); }
/// <summary> /// An attempt to add a topic has failed. /// </summary> /// <param name="context">The context object the application supplied when making the call; may be null.</param> /// <param name="topicPath">The topic path as supplied to the add request.</param> /// <param name="reason">The reason for failure.</param> public void OnTopicAddFailed(IMissingTopicNotification context, string topicPath, TopicAddFailReason reason) { context.Proceed(); }