WSTrustResponseBodyWriter Constructor
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.
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
.