Opc.Ua.Core
EncodeSessionLessMessage Method (BinaryEncoder)



Opc.Ua Namespace > BinaryEncoder Class : EncodeSessionLessMessage Method
Encodes a session-less message to a buffer.
Syntax
'Declaration
 
Public Shared Sub EncodeSessionLessMessage( _
   ByVal message As IEncodeable, _
   ByVal stream As Stream, _
   ByVal context As IServiceMessageContext, _
   ByVal leaveOpen As Boolean _
) 
'Usage
 
Dim message As IEncodeable
Dim stream As Stream
Dim context As IServiceMessageContext
Dim leaveOpen As Boolean
 
BinaryEncoder.EncodeSessionLessMessage(message, stream, context, leaveOpen)
public static void EncodeSessionLessMessage( 
   IEncodeable message,
   Stream stream,
   IServiceMessageContext context,
   bool leaveOpen
)
public:
static void EncodeSessionLessMessage( 
   IEncodeable^ message,
   Stream^ stream,
   IServiceMessageContext^ context,
   bool leaveOpen
) 

Parameters

message
stream
context
leaveOpen
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

BinaryEncoder Class
BinaryEncoder Members