IDispatchMessageFormatter Interface
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines methods that deserialize request messages and serialize response messages in a service application.
public interface class IDispatchMessageFormatter
public interface IDispatchMessageFormatter
type IDispatchMessageFormatter = interface
Public Interface IDispatchMessageFormatter
For a complete example, see Operation Formatter and Operation Selector.
Implement the IDispatchMessageFormatter interface to create a formatter extension that controls the serialization of parameters into a message and the deserialization from a message into parameters in a service application. To insert the custom formatter into the service application, assign the IDispatchMessageFormatter object to the Formatter property using a behavior.
Deserialize |
Deserializes a message into an array of parameters. |
Serialize |
Serializes a reply message from a specified message version, array of parameters, and a return value. |
Производ | Верзије |
---|---|
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET повратне информације
.NET је пројекат отвореног кода. Изаберите везу да бисте обезбедили повратне информације: