Opc.Ua.Core
EncodeMessage(IEncodeable,Stream,IServiceMessageContext,Boolean) Method



Opc.Ua Namespace > BinaryEncoder Class > EncodeMessage Method : EncodeMessage(IEncodeable,Stream,IServiceMessageContext,Boolean) Method
Encodes a message in a stream.
Syntax
'Declaration
 
Public Overloads Shared Sub EncodeMessage( _
   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.EncodeMessage(message, stream, context, leaveOpen)
public static void EncodeMessage( 
   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
Overload List