The client side interface with a UA server.
More...
Inherits IDisposable.
Inherited by UnifiedAutomation.UaBase.DiscoveryClient, UnifiedAutomation.UaBase.RegistrationClient, and UnifiedAutomation.UaBase.SessionClient.
The client side interface with a UA server.
Intializes the object with a channel and a message context.
- Parameters
-
virtual void UnifiedAutomation.UaBase.ClientBase.Close |
( |
| ) |
|
|
inlinevirtual |
void UnifiedAutomation.UaBase.ClientBase.CloseChannel |
( |
| ) |
|
|
inlineprotected |
void UnifiedAutomation.UaBase.ClientBase.Dispose |
( |
| ) |
|
|
inline |
Frees any unmanaged resources.
virtual void UnifiedAutomation.UaBase.ClientBase.Dispose |
( |
bool |
disposing | ) |
|
|
inlineprotectedvirtual |
An overrideable version of the Dispose.
- Parameters
-
disposing | true to release both managed and unmanaged resources; false to release only unmanaged resources. |
Reimplemented in UnifiedAutomation.UaBase.SessionClient.
static bool UnifiedAutomation.UaBase.ClientBase.IsTransportChannelRequired |
( |
EndpointDescription |
endpoint | ) |
|
|
inlinestaticprotected |
Determines whether a transport channel required for the specified endpoint.
- Parameters
-
- Returns
true
if a transport channel required for thethe specified endpoint; otherwise, false
.
- Exceptions
-
System.ArgumentException | endpoint |
Called when a request completes.
- Parameters
-
request | The request. |
response | The response. |
serviceName | The name of the service. |
void UnifiedAutomation.UaBase.ClientBase.UpdateRequestHeader |
( |
IServiceRequest |
request, |
|
|
bool |
useDefaults, |
|
|
string |
serviceName |
|
) |
| |
|
inlineprotected |
Updates the header of a service request.
- Parameters
-
request | The request. |
useDefaults | if set to true the no request header was provided. |
serviceName | The name of the service. |
static void UnifiedAutomation.UaBase.ClientBase.ValidateDiagnosticInfos |
( |
DiagnosticInfoCollection |
response, |
|
|
IList |
request |
|
) |
| |
|
inlinestatic |
Validates a response returned by the server.
- Parameters
-
response | The response. |
request | The request. |
static void UnifiedAutomation.UaBase.ClientBase.ValidateResponse |
( |
ResponseHeader |
header | ) |
|
|
inlinestaticprotected |
Throws an exception if a response contains an error.
- Parameters
-
static void UnifiedAutomation.UaBase.ClientBase.ValidateResponse |
( |
IList |
response, |
|
|
IList |
request |
|
) |
| |
|
inlinestatic |
Validates a response returned by the server.
- Parameters
-
response | The response. |
request | The request. |
int UnifiedAutomation.UaBase.ClientBase.DefaultOperationTimeout |
|
getset |
Sets the timeout for an operation.
bool UnifiedAutomation.UaBase.ClientBase.Disposed |
|
get |
Whether the object has been disposed.
true
if disposed; otherwise, false
.
The channel being wrapped by the client object.
The channel being wrapped by the client object.
Gets the message context.
Gets or set the channel being wrapped by the client object.
The transport channel.
bool UnifiedAutomation.UaBase.ClientBase.UseTransportChannel |
|
getprotected |
Gets a value that indicates whether to use the TransportChannel when sending requests.
The documentation for this class was generated from the following file:
- D:/work/uasdknet/src/UaBase/Wcf/ClientBase.cs