Opc.Ua.Core
DefaultMaxMessageSize Field



Opc.Ua.Bindings Namespace > TcpMessageLimits Class : DefaultMaxMessageSize Field
The default maximum message size.
Syntax
'Declaration
 
Public Const DefaultMaxMessageSize As Integer
'Usage
 
Dim value As Integer
 
value = TcpMessageLimits.DefaultMaxMessageSize
public const int DefaultMaxMessageSize
public:
const int DefaultMaxMessageSize
Remarks
The default is 2MB. Ensure to set this to a value aligned to MinBufferSize. This default is for the Tcp transport. Opc.Ua.DefaultEncodingLimits.MaxMessageSize for the generic default.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

TcpMessageLimits Class
TcpMessageLimits Members