編輯

共用方式為


RoutingSection.CreateFilterTable(String) Method

Definition

Creates a filter table using the specified name.

public:
 static System::ServiceModel::Dispatcher::MessageFilterTable<System::Collections::Generic::IEnumerable<System::ServiceModel::Description::ServiceEndpoint ^> ^> ^ CreateFilterTable(System::String ^ name);
public static System.ServiceModel.Dispatcher.MessageFilterTable<System.Collections.Generic.IEnumerable<System.ServiceModel.Description.ServiceEndpoint>> CreateFilterTable (string name);
static member CreateFilterTable : string -> System.ServiceModel.Dispatcher.MessageFilterTable<seq<System.ServiceModel.Description.ServiceEndpoint>>
Public Shared Function CreateFilterTable (name As String) As MessageFilterTable(Of IEnumerable(Of ServiceEndpoint))

Parameters

name
String

The name of the filter table to create.

Returns

A filter table with the specified name.

Remarks

A routing table with the specified name must exist in the configuration file for the current AppDomain; otherwise an InvalidOperationException occurs.

Applies to