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.
WSTrustRequestBodyWriter Constructor (RequestSecurityToken^, WSTrustRequestSerializer^, WSTrustSerializationContext^)
.NET Framework (current version)
Initializes a new instance of the WSTrustRequestBodyWriter class.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
public:
WSTrustRequestBodyWriter(
RequestSecurityToken^ requestSecurityToken,
WSTrustRequestSerializer^ serializer,
WSTrustSerializationContext^ serializationContext
)
Parameters
- requestSecurityToken
-
Type:
System.IdentityModel.Protocols.WSTrust::RequestSecurityToken^
The RequestSecurityToken object (RST) to be serialized in the outgoing Message.
- serializer
-
Type:
System.IdentityModel.Protocols.WSTrust::WSTrustRequestSerializer^
The WSTrustRequestSerializer object to use to serialize the RST.
- serializationContext
-
Type:
System.IdentityModel.Protocols.WSTrust::WSTrustSerializationContext^
A WSTrustSerializationContext that contains the context for serialization.
| Exception | Condition |
|---|---|
| ArgumentNullException | requestSecurityToken is null. -or- serializer is null. -or- serializationContext is null. |
.NET Framework
Available since 4.5
Available since 4.5
Show: