UA Bundle SDK .NET
2.1.0.222
|
An async result object that wraps the WCF channel. More...
Inherits UnifiedAutomation.UaBase.WcfChannelBase< TChannel >.
Public Member Functions | |
WcfChannelAsyncResult (TChannel channel, AsyncCallback callback, object callbackData) | |
Initializes a new instance of the WcfChannelAsyncResult class. | |
void | OnOperationCompleted (IAsyncResult ar) |
Called when asynchronous operation completes. | |
Public Member Functions inherited from UnifiedAutomation.UaBase.WcfChannelBase< TChannel > | |
WcfChannelBase () | |
Initializes the object with the specified binding and endpoint address. | |
override InvokeServiceResponseMessage | InvokeService (InvokeServiceMessage request) |
The client side implementation of the InvokeService service contract. | |
override IAsyncResult | BeginInvokeService (InvokeServiceMessage request, AsyncCallback callback, object asyncState) |
The client side implementation of the BeginInvokeService service contract. | |
override InvokeServiceResponseMessage | EndInvokeService (IAsyncResult result) |
The client side implementation of the EndInvokeService service contract. | |
Public Member Functions inherited from UnifiedAutomation.UaBase.WcfChannelBase | |
WcfChannelBase () | |
Initializes the object with the specified binding and endpoint address. | |
void | Dispose () |
Frees any unmanaged resources. | |
void | OpenChannel () |
Opens the channel with the server. | |
void | CloseChannel () |
Closes the channel with the server. | |
void | Initialize (Uri url, TransportChannelSettings settings) |
Initializes a secure channel with the endpoint identified by the URL. | |
IServiceResponse | SendRequest (IServiceRequest request) |
Sends a request over the secure channel. | |
IAsyncResult | BeginSendRequest (IServiceRequest request, AsyncCallback callback, object callbackData) |
Begins an asynchronous operation to send a request over the secure channel. | |
IServiceResponse | EndSendRequest (IAsyncResult result) |
Completes an asynchronous operation to send a request over the secure channel. | |
void | Close () |
Closes the secure channel. | |
StatusException | HandleSoapFault (System.ServiceModel.FaultException< ServiceFault > exception) |
Converts a FaultException into a StatusException. | |
Public Member Functions inherited from UnifiedAutomation.UaBase.IChannelBase | |
InvokeServiceResponseMessage | InvokeService (InvokeServiceMessage request) |
The operation contract for the InvokeService service. | |
IAsyncResult | BeginInvokeService (InvokeServiceMessage request, AsyncCallback callback, object asyncState) |
The operation contract for the InvokeService service. | |
InvokeServiceResponseMessage | EndInvokeService (IAsyncResult result) |
The method used to retrieve the results of a InvokeService service request. | |
Public Member Functions inherited from UnifiedAutomation.UaBase.ITransportChannel | |
void | Initialize (Uri url, TransportChannelSettings settings) |
Initializes a secure channel with the endpoint identified by the URL. | |
IServiceResponse | SendRequest (IServiceRequest request) |
Sends a request over the secure channel. | |
IAsyncResult | BeginSendRequest (IServiceRequest request, AsyncCallback callback, object callbackData) |
Begins an asynchronous operation to send a request over the secure channel. | |
IServiceResponse | EndSendRequest (IAsyncResult result) |
Completes an asynchronous operation to send a request over the secure channel. | |
void | Close () |
Closes the secure channel. | |
Static Public Member Functions | |
static new WcfChannelAsyncResult | WaitForComplete (IAsyncResult ar) |
Checks for a valid IAsyncResult object and waits for the operation to complete. | |
Properties | |
TChannel | Channel [get] |
Gets the wrapped channel. | |
Properties inherited from UnifiedAutomation.UaBase.WcfChannelBase< TChannel > | |
TChannel | Channel [get] |
Gets the inner channel. | |
Properties inherited from UnifiedAutomation.UaBase.WcfChannelBase | |
bool | UseBinaryEncoding [get, set] |
Gets a value indicating that the binary encoding should be used with this channe. | |
EndpointDescription | EndpointDescription [get] |
Gets the description for the endpoint used by the channel. | |
EndpointConfiguration | EndpointConfiguration [get] |
Gets the configuration for the channel. | |
MessageContext | MessageContext [get] |
Gets the context used when serializing messages exchanged via the channel. | |
int | OperationTimeout [get, set] |
Gets or sets the default timeout for requests send via the channel. | |
Properties inherited from UnifiedAutomation.UaBase.ITransportChannel | |
EndpointDescription | EndpointDescription [get] |
Gets the description for the endpoint used by the channel. | |
EndpointConfiguration | EndpointConfiguration [get] |
Gets the configuration for the channel. | |
MessageContext | MessageContext [get] |
Gets the context used when serializing messages exchanged via the channel. | |
int | OperationTimeout [get, set] |
Gets or sets the default timeout for requests send via the channel. | |
Additional Inherited Members | |
Protected Member Functions inherited from UnifiedAutomation.UaBase.WcfChannelBase< TChannel > | |
override void | Dispose (bool disposing) |
An overrideable version of the Dispose. | |
An async result object that wraps the WCF channel.
UnifiedAutomation.UaBase.WcfChannelBase< TChannel >.WcfChannelAsyncResult.WcfChannelAsyncResult | ( | TChannel | channel, |
AsyncCallback | callback, | ||
object | callbackData | ||
) |
Initializes a new instance of the WcfChannelAsyncResult class.
channel | The channel. |
callback | The callback. |
callbackData | The callback data. |
void UnifiedAutomation.UaBase.WcfChannelBase< TChannel >.WcfChannelAsyncResult.OnOperationCompleted | ( | IAsyncResult | ar | ) |
Called when asynchronous operation completes.
ar | The asynchronous result object. |
|
static |
Checks for a valid IAsyncResult object and waits for the operation to complete.
ar | The IAsyncResult object for the operation. |
|
get |
Gets the wrapped channel.
The wrapped channel.