ImpersonateOnSerializingReplyMessageProperty 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
一个帮助程序类,用于在序列化回复消息正文时启用模拟。
public ref class ImpersonateOnSerializingReplyMessageProperty : System::ServiceModel::Channels::IMessageProperty
public class ImpersonateOnSerializingReplyMessageProperty : System.ServiceModel.Channels.IMessageProperty
type ImpersonateOnSerializingReplyMessageProperty = class
interface IMessageProperty
Public Class ImpersonateOnSerializingReplyMessageProperty
Implements IMessageProperty
- 继承
-
ImpersonateOnSerializingReplyMessageProperty
- 实现
属性
| 名称 | 说明 |
|---|---|
| Name |
获取消息属性的名称。 |
方法
| 名称 | 说明 |
|---|---|
| CreateCopy() |
创建消息属性的副本。 |
| Equals(Object) |
确定指定的对象是否等于当前对象。 (继承自 Object) |
| GetHashCode() |
用作默认哈希函数。 (继承自 Object) |
| GetType() |
获取当前实例的 Type。 (继承自 Object) |
| MemberwiseClone() |
创建当前 Object的浅表副本。 (继承自 Object) |
| StartImpersonation(IDisposable, IPrincipal, Boolean) |
如果在服务上启用模拟并在线程上设置相应的主体,则开始使用调用方上下文进行模拟, 并按照服务配置设置线程上的相应主体。 |
| StopImpersonation(IDisposable, IPrincipal, Boolean) |
还原模拟并在线程上设置指定的原始主体。 |
| ToString() |
返回一个表示当前对象的字符串。 (继承自 Object) |
| TryGet(Message, ImpersonateOnSerializingReplyMessageProperty) |
ImpersonateOnSerializingReplyMessageProperty从指定的消息中获取属性。 |
| TryGet(MessageProperties, ImpersonateOnSerializingReplyMessageProperty) |
ImpersonateOnSerializingReplyMessageProperty从指定MessageProperties对象获取属性。 |