WSTrustResponseBodyWriter 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 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)
参数
- requestSecurityTokenResponse
- RequestSecurityTokenResponse
在传出消息中要序列化的 RequestSecurityToken 对象 (RSTR)。
- serializer
- WSTrustResponseSerializer
用来序列化 RSTR 的 WSTrustRequestSerializer 对象。
- context
- WSTrustSerializationContext
一个 WSTrustSerializationContext,包含序列化的上下文。
例外
requestSecurityTokenResponse
为 null
。
- 或 -
serializer
为 null
。
- 或 -
serializationContext
为 null
。