WSTrustRequestBodyWriter 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 a new instance of the WSTrustRequestBodyWriter class.
public:
WSTrustRequestBodyWriter(System::IdentityModel::Protocols::WSTrust::RequestSecurityToken ^ requestSecurityToken, System::IdentityModel::Protocols::WSTrust::WSTrustRequestSerializer ^ serializer, System::IdentityModel::Protocols::WSTrust::WSTrustSerializationContext ^ serializationContext);
public WSTrustRequestBodyWriter (System.IdentityModel.Protocols.WSTrust.RequestSecurityToken requestSecurityToken, System.IdentityModel.Protocols.WSTrust.WSTrustRequestSerializer serializer, System.IdentityModel.Protocols.WSTrust.WSTrustSerializationContext serializationContext);
new System.ServiceModel.Security.WSTrustRequestBodyWriter : System.IdentityModel.Protocols.WSTrust.RequestSecurityToken * System.IdentityModel.Protocols.WSTrust.WSTrustRequestSerializer * System.IdentityModel.Protocols.WSTrust.WSTrustSerializationContext -> System.ServiceModel.Security.WSTrustRequestBodyWriter
Public Sub New (requestSecurityToken As RequestSecurityToken, serializer As WSTrustRequestSerializer, serializationContext As WSTrustSerializationContext)
Parameters
- requestSecurityToken
- RequestSecurityToken
The RequestSecurityToken object (RST) to be serialized in the outgoing Message.
- serializer
- WSTrustRequestSerializer
The WSTrustRequestSerializer object to use to serialize the RST.
- serializationContext
- WSTrustSerializationContext
A WSTrustSerializationContext that contains the context for serialization.
Exceptions
requestSecurityToken
is null
.
-or-
serializer
is null
.
-or-
serializationContext
is null
.
Applies to
ทํางานร่วมกับเราใน GitHub
แหล่งที่มาสำหรับเนื้อหานี้สามารถพบได้บน GitHub ซึ่งคุณยังสามารถสร้างและตรวจสอบปัญหาและคำขอดึงข้อมูลได้ สำหรับข้อมูลเพิ่มเติม ให้ดูคู่มือผู้สนับสนุนของเรา