Skip to content

Reference

OpcTransport Members

Provides transport options used by an application instance to control the behavior of the operation, communication and data flow between the opponent applications.

Reference

OpcTransport Members ​

Type
OpcTransport
Namespace
Opc.UaFx
Assembly
Opc.UaFx.Advanced.dll
Package
Opc.UaFx.Advanced v2.59.0
Also in
Opc.UaFx.Client

Fields ​

DefaultChannelLifetime ​

The default lifetime of a secure channel in milliseconds (10 minutes).

csharp
public const int DefaultChannelLifetime = 600000
vbnet
Public Const DefaultChannelLifetime As Integer = 600000

Field value

Int32

DefaultMaxArrayLength ​

The default maximum length of an array encoded in a message body (64 KB).

csharp
public const int DefaultMaxArrayLength = 65535
vbnet
Public Const DefaultMaxArrayLength As Integer = 65535

Field value

Int32

DefaultMaxBufferSize ​

The default maximum size of the buffer to use when sending messages (64 KB).

csharp
public const int DefaultMaxBufferSize = 65535
vbnet
Public Const DefaultMaxBufferSize As Integer = 65535

Field value

Int32

DefaultMaxByteStringLength ​

The default maximum length of a byte string encoded in a message body (5 MB).

csharp
public const int DefaultMaxByteStringLength = 5242880
vbnet
Public Const DefaultMaxByteStringLength As Integer = 5242880

Field value

Int32

DefaultMaxMessageSize ​

The default maximum length of a message body in bytes (10 MB).

csharp
public const int DefaultMaxMessageSize = 10485760
vbnet
Public Const DefaultMaxMessageSize As Integer = 10485760

Field value

Int32

DefaultMaxStringLength ​

The default maximum length of string encoded in a message body (64 KB).

csharp
public const int DefaultMaxStringLength = 65535
vbnet
Public Const DefaultMaxStringLength As Integer = 65535

Field value

Int32

DefaultOperationTimeout ​

The default timeout to use when sending requests in milliseconds (2 minutes).

csharp
public const int DefaultOperationTimeout = 120000
vbnet
Public Const DefaultOperationTimeout As Integer = 120000

Field value

Int32

DefaultSecurityTokenLifetime ​

The default lifetime of a security token in milliseconds (60 minutes).

csharp
public const int DefaultSecurityTokenLifetime = 3600000
vbnet
Public Const DefaultSecurityTokenLifetime As Integer = 3600000

Field value

Int32

Properties ​

ChannelLifetime ​

Gets or sets the lifetime of a secure channel in milliseconds.

csharp
public int? ChannelLifetime { get; set; }
vbnet
Public Property ChannelLifetime As Integer?

Property value

Nullable<Int32>

A value indicating the lifetime of a secure channel in milliseconds. The default value is DefaultChannelLifetime. Changing the value of this property to a null reference (Nothing in Visual Basic) will reset the value of this property to the DefaultChannelLifetime.

MaxArrayLength ​

Gets or sets the maximum length of an array encoded in a message body.

csharp
public int? MaxArrayLength { get; set; }
vbnet
Public Property MaxArrayLength As Integer?

Property value

Nullable<Int32>

A value indicating the max length of an array. The default value is DefaultMaxArrayLength. Changing the value of this property to a null reference (Nothing in Visual Basic) will reset the value of this property to the DefaultMaxArrayLength.

MaxBufferSize ​

Gets or sets the maximum size of the buffer to use when sending messages.

csharp
public int? MaxBufferSize { get; set; }
vbnet
Public Property MaxBufferSize As Integer?

Property value

Nullable<Int32>

A value indicating the maximum size of the buffer to use when sending messages. The default value is DefaultMaxBufferSize. Changing the value of this property to a null reference (Nothing in Visual Basic) will reset the value of this property to the DefaultMaxBufferSize.

MaxByteStringLength ​

Gets or sets the maximum length of a byte string encoded in a message body.

csharp
public int? MaxByteStringLength { get; set; }
vbnet
Public Property MaxByteStringLength As Integer?

Property value

Nullable<Int32>

A value indicating the maximum length of a byte string encoded in a message body. The default value is DefaultMaxByteStringLength. Changing the value of this property to a null reference (Nothing in Visual Basic) will reset the value of this property to the DefaultMaxByteStringLength.

MaxMessageSize ​

Gets or sets the maximum length of a message body in bytes.

csharp
public int? MaxMessageSize { get; set; }
vbnet
Public Property MaxMessageSize As Integer?

Property value

Nullable<Int32>

A value indicating the maximum length of a message body in bytes. The default value is DefaultMaxMessageSize. Changing the value of this property to a null reference (Nothing in Visual Basic) will reset the value of this property to the DefaultMaxMessageSize.

MaxStringLength ​

Gets or sets the maximum length of string encoded in a message body.

csharp
public int? MaxStringLength { get; set; }
vbnet
Public Property MaxStringLength As Integer?

Property value

Nullable<Int32>

A value indicating the maximum length of string encoded in a message body. The default value is DefaultMaxStringLength. Changing the value of this property to a null reference (Nothing in Visual Basic) will reset the value of this property to the DefaultMaxStringLength.

OperationTimeout ​

Gets or sets the default timeout to use when sending requests in milliseconds.

csharp
public int? OperationTimeout { get; set; }
vbnet
Public Property OperationTimeout As Integer?

Property value

Nullable<Int32>

A value indicating the default timeout to use when sending requests in milliseconds. The default value is DefaultOperationTimeout. Changing the value of this property to a null reference (Nothing in Visual Basic) will reset the value of this property to the DefaultOperationTimeout.

SecurityTokenLifetime ​

Gets or sets the lifetime of a security token in milliseconds.

csharp
public int? SecurityTokenLifetime { get; set; }
vbnet
Public Property SecurityTokenLifetime As Integer?

Property value

Nullable<Int32>

A value indicating the lifetime of a security token in milliseconds. The default value is DefaultSecurityTokenLifetime. Changing the value of this property to a null reference (Nothing in Visual Basic) will reset the value of this property to the DefaultSecurityTokenLifetime.

Methods ​

Reset ​

Restores the default values used for the transport setup.

csharp
public void Reset()
vbnet
Public Sub Reset()