WSTrustRequestBodyWriter Constructor

Definition

Initializes a new instance of the WSTrustRequestBodyWriter class.

public:
 WSTrustRequestBodyWriter(System::IdentityModel::Protocols::WSTrust::RequestSecurityToken ^ requestSecurityToken, System::IdentityModel::Protocols::WSTrust::WSTrustRequestSerializer ^ serializer, System::IdentityModel::Protocols::WSTrust::WSTrustSerializationContext ^ serializationContext);
public WSTrustRequestBodyWriter (System.IdentityModel.Protocols.WSTrust.RequestSecurityToken requestSecurityToken, System.IdentityModel.Protocols.WSTrust.WSTrustRequestSerializer serializer, System.IdentityModel.Protocols.WSTrust.WSTrustSerializationContext serializationContext);
new System.ServiceModel.Security.WSTrustRequestBodyWriter : System.IdentityModel.Protocols.WSTrust.RequestSecurityToken * System.IdentityModel.Protocols.WSTrust.WSTrustRequestSerializer * System.IdentityModel.Protocols.WSTrust.WSTrustSerializationContext -> System.ServiceModel.Security.WSTrustRequestBodyWriter
Public Sub New (requestSecurityToken As RequestSecurityToken, serializer As WSTrustRequestSerializer, serializationContext As WSTrustSerializationContext)

Parameters

requestSecurityToken
RequestSecurityToken

The RequestSecurityToken object (RST) to be serialized in the outgoing Message.

serializer
WSTrustRequestSerializer

The WSTrustRequestSerializer object to use to serialize the RST.

serializationContext
WSTrustSerializationContext

A WSTrustSerializationContext that contains the context for serialization.

Exceptions

requestSecurityToken is null.

-or-

serializer is null.

-or-

serializationContext is null.

Applies to