C# Class Opc.Ua.WcfChannelBase.WcfChannelAsyncResult

An async result object that wraps the WCF channel.
Inheritance: AsyncResultBase
ファイルを表示 Open project: OPCFoundation/UA-.NETStandardLibrary

Public Methods

Method Description
OnOperationCompleted ( IAsyncResult ar ) : void

Called when asynchronous operation completes.

WaitForComplete ( IAsyncResult ar ) : WcfChannelAsyncResult

Checks for a valid IAsyncResult object and waits for the operation to complete.

WcfChannelAsyncResult ( TChannel channel, AsyncCallback callback, object callbackData ) : System

Initializes a new instance of the WcfChannelAsyncResult class.

Method Details

OnOperationCompleted() public method

Called when asynchronous operation completes.
public OnOperationCompleted ( IAsyncResult ar ) : void
ar IAsyncResult The asynchronous result object.
return void

WaitForComplete() public static method

Checks for a valid IAsyncResult object and waits for the operation to complete.
public static WaitForComplete ( IAsyncResult ar ) : WcfChannelAsyncResult
ar IAsyncResult The IAsyncResult object for the operation.
return WcfChannelAsyncResult

WcfChannelAsyncResult() public method

Initializes a new instance of the WcfChannelAsyncResult class.
public WcfChannelAsyncResult ( TChannel channel, AsyncCallback callback, object callbackData ) : System
channel TChannel The channel.
callback AsyncCallback The callback.
callbackData object The callback data.
return System