| Visual Basic (Usage) | Copy Code |
|---|---|
Dim buffer() As Byte Dim expectedType As Type Dim context As ServiceMessageContext Dim value As IEncodeable value = BinaryDecoder.DecodeMessage(buffer, expectedType, context) | |
| C# | |
|---|---|
public static IEncodeable DecodeMessage( byte[] buffer, Type expectedType, ServiceMessageContext context ) | |
Parameters
- buffer
- expectedType
- context
Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x