Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

WSTrustResponseBodyWriter Constructor (RequestSecurityTokenResponse^, WSTrustResponseSerializer^, WSTrustSerializationContext^)

.NET Framework (current version)
 

Initializes an instance of the WSTrustResponseBodyWriter class.

Namespace:   System.ServiceModel.Security
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public:
WSTrustResponseBodyWriter(
	RequestSecurityTokenResponse^ requestSecurityTokenResponse,
	WSTrustResponseSerializer^ serializer,
	WSTrustSerializationContext^ context
)

Parameters

requestSecurityTokenResponse
Type: System.IdentityModel.Protocols.WSTrust::RequestSecurityTokenResponse^

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

serializer
Type: System.IdentityModel.Protocols.WSTrust::WSTrustResponseSerializer^

The WSTrustRequestSerializer object to use to serialize the RSTR.

context
Type: System.IdentityModel.Protocols.WSTrust::WSTrustSerializationContext^

A WSTrustSerializationContext that contains the context for serialization.

Exception Condition
ArgumentNullException

requestSecurityTokenResponse is null.

-or-

serializer is null.

-or-

serializationContext is null.

.NET Framework
Available since 4.5
Return to top
Show:
© 2017 Microsoft