'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 )
public: static void EncodeMessage( IEncodeable^ message, Stream^ stream, IServiceMessageContext^ context, bool leaveOpen )
Parameters
- message
- stream
- context
- leaveOpen