Udostępnij za pośrednictwem


WSTrustResponseBodyWriter Konstruktor

Definicja

Inicjuje wystąpienie klasy WSTrustResponseBodyWriter.

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)

Parametry

requestSecurityTokenResponse
RequestSecurityTokenResponse

Obiekt RequestSecurityToken (RSTR), który ma być serializowany w komunikacie wychodzącym.

serializer
WSTrustResponseSerializer

Obiekt WSTrustRequestSerializer do użycia do serializacji RSTR.

context
WSTrustSerializationContext

, WSTrustSerializationContext który zawiera kontekst serializacji.

Wyjątki

requestSecurityTokenResponse to null.

-lub- serializer to null.

-lub- serializationContext to null.

Dotyczy