Reference
OpcEndpointConfiguration Members
Represents the limits and timeouts used to communicate with an endpoint (see Configuration).
Reference
OpcEndpointConfiguration Members
- Type
- OpcEndpointConfiguration
- Namespace
- Opc.UaFx
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
- Also in
- Opc.UaFx.Client
Constructors
OpcEndpointConfiguration
Initializes a new instance of the OpcEndpointConfiguration class using the default values of the OPC UA stack.
public OpcEndpointConfiguration()Public Sub New()Remarks
The default values of the OPC UA stack differ from those of OpcTransport, e.g. the ChannelLifetime is 2 minutes instead of DefaultChannelLifetime. Use From to use the values of an application.
Properties
ChannelLifetime
Gets or sets the lifetime of a secure channel in milliseconds.
public int ChannelLifetime { get; set; }Public Property ChannelLifetime As IntegerProperty value
The lifetime of a secure channel in milliseconds.
MaxArrayLength
Gets or sets the maximum length of an array encoded in a message body.
public int MaxArrayLength { get; set; }Public Property MaxArrayLength As IntegerProperty value
The maximum number of elements of an array.
MaxBufferSize
Gets or sets the maximum size of the buffer to use when sending messages.
public int MaxBufferSize { get; set; }Public Property MaxBufferSize As IntegerProperty value
The maximum size of the buffer in bytes.
MaxByteStringLength
Gets or sets the maximum length of a byte string encoded in a message body.
public int MaxByteStringLength { get; set; }Public Property MaxByteStringLength As IntegerProperty value
The maximum length of a byte string in bytes.
MaxMessageSize
Gets or sets the maximum length of a message body in bytes.
public int MaxMessageSize { get; set; }Public Property MaxMessageSize As IntegerProperty value
The maximum length of a message body in bytes.
MaxStringLength
Gets or sets the maximum length of a string encoded in a message body.
public int MaxStringLength { get; set; }Public Property MaxStringLength As IntegerProperty value
The maximum length of a string.
OperationTimeout
Gets or sets the timeout to use when sending requests in milliseconds.
public int OperationTimeout { get; set; }Public Property OperationTimeout As IntegerProperty value
The timeout of a request in milliseconds.
SecurityTokenLifetime
Gets or sets the lifetime of a security token in milliseconds.
public int SecurityTokenLifetime { get; set; }Public Property SecurityTokenLifetime As IntegerProperty value
The lifetime of a security token in milliseconds.
UseBinaryEncoding
Gets or sets a value indicating whether messages are encoded using the binary encoding.
public bool UseBinaryEncoding { get; set; }Public Property UseBinaryEncoding As BooleanProperty value
The value true if the binary encoding is used; otherwise the value false.
Methods
From
Creates an OpcEndpointConfiguration using the transport quotas of the configuration specified.
[CLSCompliant(false)]
public static OpcEndpointConfiguration From(
OpcApplicationConfiguration configuration)<CLSCompliant(False)>
Public Shared Function From(
configuration As OpcApplicationConfiguration) As OpcEndpointConfigurationParameters
| Name | Type | Description |
|---|---|---|
configuration | Opc | The configuration of the application whose transport quotas are to be used. |
Returns
A new OpcEndpointConfiguration using the transport quotas of the configuration, or the default values of the OPC UA stack if the configuration does not define transport quotas. The binary encoding is used in either case.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The configuration is a null reference ( |

