ScopedMessagePartSpecification.AddParts 方法

定义

将消息部分添加到此类实例的集合中。

重载

AddParts(MessagePartSpecification)

将通道消息部分添加到此类实例的集合中。

AddParts(MessagePartSpecification, String)

将消息部分添加到与指定操作相对应的 MessagePartSpecification 中。

AddParts(MessagePartSpecification)

Source:
ScopedMessagePartSpecification.cs
Source:
ScopedMessagePartSpecification.cs
Source:
ScopedMessagePartSpecification.cs

将通道消息部分添加到此类实例的集合中。

public:
 void AddParts(System::ServiceModel::Security::MessagePartSpecification ^ parts);
public void AddParts (System.ServiceModel.Security.MessagePartSpecification parts);
member this.AddParts : System.ServiceModel.Security.MessagePartSpecification -> unit
Public Sub AddParts (parts As MessagePartSpecification)

参数

parts
MessagePartSpecification

包含要添加部分的 MessagePartSpecification

例外

partsnull

适用于

AddParts(MessagePartSpecification, String)

Source:
ScopedMessagePartSpecification.cs
Source:
ScopedMessagePartSpecification.cs
Source:
ScopedMessagePartSpecification.cs

将消息部分添加到与指定操作相对应的 MessagePartSpecification 中。

public:
 void AddParts(System::ServiceModel::Security::MessagePartSpecification ^ parts, System::String ^ action);
public void AddParts (System.ServiceModel.Security.MessagePartSpecification parts, string action);
member this.AddParts : System.ServiceModel.Security.MessagePartSpecification * string -> unit
Public Sub AddParts (parts As MessagePartSpecification, action As String)

参数

parts
MessagePartSpecification

包含要添加部分的 MessagePartSpecification

action
String

要匹配的操作键。

例外

partsactionnull

适用于