Language

ActionMessageFilter(String[]) コンストラクター

定義

テスト対象の一連のアクションを使用して、このクラスの新しいインスタンスを初期化します。

public:
 ActionMessageFilter(... cli::array <System::String ^> ^ actions);
public ActionMessageFilter(params string[] actions);
new System.ServiceModel.Dispatcher.ActionMessageFilter : string[] -> System.ServiceModel.Dispatcher.ActionMessageFilter
Public Sub New (ParamArray actions As String())

パラメーター

actions
String[]

フィルターがテストする一連のアクションを含む Array 。

例外

actions は nullです。

actions配列が空です。

例

ActionMessageFilter myActFltr = new ActionMessageFilter("1st Action", "2nd Action");
Dim myActFltr As ActionMessageFilter = New ActionMessageFilter("1st Action", "2nd Action")

注釈

actionsに入力するために指定されたActionMessageFilterの配列に重複するアクションが含まれている場合、重複は削除され、そのうちの 1 つだけがActionMessageFilterに追加されます。 ReadOnlyCollection<T>に含まれるactionsのActionMessageFilterは、Actions プロパティによってアクセスされ、ActionMessageFilter オブジェクトがインスタンス化された後は変更できません。

適用対象