SecurityMessageProperty.CreateCopy 方法

定义

克隆此类的当前实例。

public:
 virtual System::ServiceModel::Channels::IMessageProperty ^ CreateCopy();
public System.ServiceModel.Channels.IMessageProperty CreateCopy ();
abstract member CreateCopy : unit -> System.ServiceModel.Channels.IMessageProperty
override this.CreateCopy : unit -> System.ServiceModel.Channels.IMessageProperty
Public Function CreateCopy () As IMessageProperty

返回

IMessageProperty

从此类的当前实例中克隆的 IMessageProperty

实现

注解

要访问 SecurityMessageProperty 中的任一对象,如 ServiceSecurityContextTransportTokenIncomingSupportingTokens),则必须创建一个副本,因为这些属性在消息被释放后是未定义的。

适用于