編輯

共用方式為


WSTrustResponseBodyWriter Constructor

Definition

Initializes an instance of the WSTrustResponseBodyWriter class.

public:
 WSTrustResponseBodyWriter(System::IdentityModel::Protocols::WSTrust::RequestSecurityTokenResponse ^ requestSecurityTokenResponse, System::IdentityModel::Protocols::WSTrust::WSTrustResponseSerializer ^ serializer, System::IdentityModel::Protocols::WSTrust::WSTrustSerializationContext ^ context);
public WSTrustResponseBodyWriter (System.IdentityModel.Protocols.WSTrust.RequestSecurityTokenResponse requestSecurityTokenResponse, System.IdentityModel.Protocols.WSTrust.WSTrustResponseSerializer serializer, System.IdentityModel.Protocols.WSTrust.WSTrustSerializationContext context);
new System.ServiceModel.Security.WSTrustResponseBodyWriter : System.IdentityModel.Protocols.WSTrust.RequestSecurityTokenResponse * System.IdentityModel.Protocols.WSTrust.WSTrustResponseSerializer * System.IdentityModel.Protocols.WSTrust.WSTrustSerializationContext -> System.ServiceModel.Security.WSTrustResponseBodyWriter
Public Sub New (requestSecurityTokenResponse As RequestSecurityTokenResponse, serializer As WSTrustResponseSerializer, context As WSTrustSerializationContext)

Parameters

requestSecurityTokenResponse
RequestSecurityTokenResponse

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

serializer
WSTrustResponseSerializer

The WSTrustRequestSerializer object to use to serialize the RSTR.

context
WSTrustSerializationContext

A WSTrustSerializationContext that contains the context for serialization.

Exceptions

requestSecurityTokenResponse is null.

-or-

serializer is null.

-or-

serializationContext is null.

Applies to