SecurityMessageProperty.GetOrCreate(Message) 方法

定义

从指定消息中获取或创建此类的实例。

public:
 static System::ServiceModel::Security::SecurityMessageProperty ^ GetOrCreate(System::ServiceModel::Channels::Message ^ message);
public static System.ServiceModel.Security.SecurityMessageProperty GetOrCreate (System.ServiceModel.Channels.Message message);
static member GetOrCreate : System.ServiceModel.Channels.Message -> System.ServiceModel.Security.SecurityMessageProperty
Public Shared Function GetOrCreate (message As Message) As SecurityMessageProperty

参数

message
Message

Message

返回

SecurityMessageProperty

SecurityMessageProperty 的一个实例。

适用于