RoutingSection.CreateFilterTable(String) 方法

定义

使用指定名称创建一个筛选器表。

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))

参数

name
String

要创建的筛选器表的名称。

返回

MessageFilterTable<IEnumerable<ServiceEndpoint>>

具有指定名称的筛选器表。

注解

对于当前 AppDomain,配置文件中必须存在带指定名称的路由表;否则将发生 InvalidOperationException

适用于