/// <summary> /// Begins an asynchronous operation to open a communication object. /// </summary> /// <param name="callback"> /// The <see cref="AsyncCallback" /> delegate that receives notification of the completion of the asynchronous /// close operation. /// </param> /// <param name="state"> /// An object, specified by the application, that contains state information associated with the asynchronous /// close operation. /// </param> /// <returns>The <see cref="IAsyncResult" /> that references the asynchronous open operation.</returns> IAsyncResult ICommunicationObject.BeginOpen(AsyncCallback callback, object state) { return(RequestChannel.BeginOpen(callback, state)); }
/// <summary> /// Begins an asynchronous operation to open a communication object within a specified interval of time. /// </summary> /// <param name="timeout"> /// The <see cref="TimeSpan" /> that specifies how long the open operation has to complete before timing out. /// </param> /// <param name="callback"> /// The <see cref="AsyncCallback" /> delegate that receives notification of the completion of the asynchronous /// close operation. /// </param> /// <param name="state"> /// An object, specified by the application, that contains state information associated with the asynchronous /// close operation. /// </param> /// <returns>The <see cref="IAsyncResult" /> that references the asynchronous open operation.</returns> IAsyncResult ICommunicationObject.BeginOpen(TimeSpan timeout, AsyncCallback callback, object state) { return(RequestChannel.BeginOpen(timeout, callback, state)); }