WSTrustChannel.CreateRequest(RequestSecurityToken, String) Method
Definition
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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.