'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