WSTrustResponseBodyWriter 构造函数

定义

初始化 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,包含序列化的上下文。

例外

requestSecurityTokenResponsenull

- 或 -

serializernull

- 或 -

serializationContextnull

适用于