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



Opc.Ua Namespace > BinaryEncoder Class > EncodeMessage Method : EncodeMessage(IEncodeable,IServiceMessageContext) Method
Encodes a message in a buffer.
Syntax
'Declaration
 
Public Overloads Shared Function EncodeMessage( _
   ByVal message As IEncodeable, _
   ByVal context As IServiceMessageContext _
) As Byte()
'Usage
 
Dim message As IEncodeable
Dim context As IServiceMessageContext
Dim value() As Byte
 
value = BinaryEncoder.EncodeMessage(message, context)
public static byte[] EncodeMessage( 
   IEncodeable message,
   IServiceMessageContext context
)

Parameters

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