C# Class System.ServiceModel.Dispatcher.BaseMessagesFormatter

Inheritance: IDispatchMessageFormatter, IClientMessageFormatter
Datei anzeigen Open project: kumpera/mono Class Usage Examples

Public Methods

Method Description
BaseMessagesFormatter ( MessageDescriptionCollection messages ) : System
BaseMessagesFormatter ( OperationDescription desc ) : System
Create ( OperationDescription desc ) : BaseMessagesFormatter
DeserializeReply ( Message message, object parameters ) : object
DeserializeRequest ( Message message, object parameters ) : void
SerializeReply ( System.ServiceModel.Channels.MessageVersion version, object parameters, object result ) : Message
SerializeRequest ( System.ServiceModel.Channels.MessageVersion version, object parameters ) : Message

Protected Methods

Method Description
CreatePartsArray ( System.ServiceModel.Description.MessageBodyDescription desc ) : object[]
MessageToParts ( MessageDescription md, Message message ) : object[]
ParamsOffset ( System.ServiceModel.Description.MessageBodyDescription desc ) : int
PartsToMessage ( MessageDescription md, System.ServiceModel.Channels.MessageVersion version, string action, object parts ) : Message

Private Methods

Method Description
HasReturnValue ( System.ServiceModel.Description.MessageBodyDescription desc ) : bool
MessageObjectToParts ( MessageDescription md, object msgObject, object parts ) : void
PartsToMessageObject ( MessageDescription md, object parts, object msgObject ) : void

Method Details

BaseMessagesFormatter() public method

public BaseMessagesFormatter ( MessageDescriptionCollection messages ) : System
messages MessageDescriptionCollection
return System

BaseMessagesFormatter() public method

public BaseMessagesFormatter ( OperationDescription desc ) : System
desc System.ServiceModel.Description.OperationDescription
return System

Create() public static method

public static Create ( OperationDescription desc ) : BaseMessagesFormatter
desc System.ServiceModel.Description.OperationDescription
return BaseMessagesFormatter

CreatePartsArray() protected static method

protected static CreatePartsArray ( System.ServiceModel.Description.MessageBodyDescription desc ) : object[]
desc System.ServiceModel.Description.MessageBodyDescription
return object[]

DeserializeReply() public method

public DeserializeReply ( Message message, object parameters ) : object
message Message
parameters object
return object

DeserializeRequest() public method

public DeserializeRequest ( Message message, object parameters ) : void
message Message
parameters object
return void

MessageToParts() protected abstract method

protected abstract MessageToParts ( MessageDescription md, Message message ) : object[]
md System.ServiceModel.Description.MessageDescription
message Message
return object[]

ParamsOffset() protected static method

protected static ParamsOffset ( System.ServiceModel.Description.MessageBodyDescription desc ) : int
desc System.ServiceModel.Description.MessageBodyDescription
return int

PartsToMessage() protected abstract method

protected abstract PartsToMessage ( MessageDescription md, System.ServiceModel.Channels.MessageVersion version, string action, object parts ) : Message
md System.ServiceModel.Description.MessageDescription
version System.ServiceModel.Channels.MessageVersion
action string
parts object
return Message

SerializeReply() public method

public SerializeReply ( System.ServiceModel.Channels.MessageVersion version, object parameters, object result ) : Message
version System.ServiceModel.Channels.MessageVersion
parameters object
result object
return Message

SerializeRequest() public method

public SerializeRequest ( System.ServiceModel.Channels.MessageVersion version, object parameters ) : Message
version System.ServiceModel.Channels.MessageVersion
parameters object
return Message