DispatchContext 类
定义
定义输入和输出到 DispatchRequest(DispatchContext) 的方法。Defines the inputs and outputs to the DispatchRequest(DispatchContext) method.
public ref class DispatchContext
public class DispatchContext
type DispatchContext = class
Public Class DispatchContext
- 继承
-
DispatchContext
构造函数
| DispatchContext() |
初始化 DispatchContext 类的新实例。Initializes a new instance of the DispatchContext class. |
属性
| Principal |
获取或设置请求者的标识。Gets or sets the identity of the requestor. |
| RequestAction |
获取或设置请求消息的 WS-Addressing 操作。Gets or sets the WS-Addressing action of the request message. |
| RequestMessage |
获取或设置请求消息。Gets or sets the request message. |
| ResponseAction |
获取或设置请求响应消息的合适 WS-Addressing 操作。Gets or sets the desired WS-Addressing action of the response message. |
| ResponseMessage |
获取或设置响应消息。Gets or sets the response message. |
| SecurityTokenService |
获取或设置应处理请求消息的 SecurityTokenService。Gets or sets the SecurityTokenService object which should process the request message. |
| TrustNamespace |
WS-Trust 命名空间 URI 定义请求和响应消息。The WS-Trust namespace URI that defines the schema for the request and response messages. |
方法
| Equals(Object) |
确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object. (继承自 Object) |
| GetHashCode() |
作为默认哈希函数。Serves as the default hash function. (继承自 Object) |
| GetType() |
获取当前实例的 Type。Gets the Type of the current instance. (继承自 Object) |
| MemberwiseClone() |
创建当前 Object 的浅表副本。Creates a shallow copy of the current Object. (继承自 Object) |
| ToString() |
返回表示当前对象的字符串。Returns a string that represents the current object. (继承自 Object) |