WSTrustChannel.CreateRequest(RequestSecurityToken, String) Method

Definition

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

C#
protected virtual System.ServiceModel.Channels.Message CreateRequest(System.IdentityModel.Protocols.WSTrust.RequestSecurityToken request, string requestType);

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

Produkt Verzie
.NET Framework 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