RedirectionType.Create(String, String) 方法
定义
使用指定的重定向类型和重定向命名空间创建 RedirectionType 类的新实例。Creates a new instance of the RedirectionType class with the specified redirection type and redirection namespace.
public:
static System::ServiceModel::Channels::RedirectionType ^ Create(System::String ^ type, System::String ^ ns);
public static System.ServiceModel.Channels.RedirectionType Create (string type, string ns);
static member Create : string * string -> System.ServiceModel.Channels.RedirectionType
Public Shared Function Create (type As String, ns As String) As RedirectionType
参数
- type
- String
重定向类型。The redirection type.
- ns
- String
重定向命名空间。The redirection namespace.
返回
重定向类型。A redirection type.