'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 )
public: static array<byte>^ EncodeMessage( IEncodeable^ message, IServiceMessageContext^ context )
Parameters
- message
- context