RedirectionDuration.Create(String, String) 方法

定義

使用指定的持續時間和命名空間,建立新的 RedirectionDuration 執行個體。Creates a new RedirectionDuration instance with the specified duration and namespace.

public:
 static System::ServiceModel::Channels::RedirectionDuration ^ Create(System::String ^ duration, System::String ^ ns);
public static System.ServiceModel.Channels.RedirectionDuration Create (string duration, string ns);
static member Create : string * string -> System.ServiceModel.Channels.RedirectionDuration
Public Shared Function Create (duration As String, ns As String) As RedirectionDuration

參數

duration
String

重新導向的持續時間。The redirection duration.

ns
String

重新導向命名空間。The redirection namespace.

傳回

重新導向的持續時間。A redirection duration.

適用於