Επεξεργασία

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


WSTrustChannel.CreateRequest(RequestSecurityToken, String) Method

Definition

Creates a Message object that represents a WS-Trust RST message.

protected:
 virtual System::ServiceModel::Channels::Message ^ CreateRequest(System::IdentityModel::Protocols::WSTrust::RequestSecurityToken ^ request, System::String ^ requestType);
protected virtual System.ServiceModel.Channels.Message CreateRequest (System.IdentityModel.Protocols.WSTrust.RequestSecurityToken request, string requestType);
abstract member CreateRequest : System.IdentityModel.Protocols.WSTrust.RequestSecurityToken * string -> System.ServiceModel.Channels.Message
override this.CreateRequest : System.IdentityModel.Protocols.WSTrust.RequestSecurityToken * string -> System.ServiceModel.Channels.Message
Protected Overridable Function CreateRequest (request As RequestSecurityToken, requestType As String) As Message

Parameters

request
RequestSecurityToken

The RequestSecurityToken to serialize into the message.

requestType
String

The type of WS-Trust request to serialize. This parameter must be one of the string constants in RequestTypes.

Returns

The Message object that represents the WS-Trust message.

Applies to