Επεξεργασία

Κοινή χρήση μέσω


IClientMessageFormatter.SerializeRequest(MessageVersion, Object[]) Method

Definition

Converts an Object array into an outbound Message.

public:
 System::ServiceModel::Channels::Message ^ SerializeRequest(System::ServiceModel::Channels::MessageVersion ^ messageVersion, cli::array <System::Object ^> ^ parameters);
public System.ServiceModel.Channels.Message SerializeRequest (System.ServiceModel.Channels.MessageVersion messageVersion, object[] parameters);
abstract member SerializeRequest : System.ServiceModel.Channels.MessageVersion * obj[] -> System.ServiceModel.Channels.Message
Public Function SerializeRequest (messageVersion As MessageVersion, parameters As Object()) As Message

Parameters

messageVersion
MessageVersion

The version of the SOAP message to use.

parameters
Object[]

The parameters passed to the WCF client operation.

Returns

The SOAP message sent to the service operation.

Remarks

Called after an operation is invoked on the client but prior to serializing the outbound message. Implement to convert the parameter objects into the outbound message.

Applies to