RedirectionException 建構函式

定義

初始化 RedirectionException 類別的新執行個體。

多載

RedirectionException(SerializationInfo, StreamingContext)

使用指定的 RedirectionExceptionSerializationInfo,初始化 StreamingContext 類別的新執行個體。

RedirectionException(RedirectionType, RedirectionDuration, RedirectionScope, RedirectionLocation[])

使用指定的 RedirectionExceptionRedirectionTypeRedirectionDurationRedirectionScope 物件的陣列,初始化 RedirectionLocation 類別的新執行個體。

RedirectionException(RedirectionType, RedirectionDuration, RedirectionScope, Exception, RedirectionLocation[])

使用指定的 RedirectionExceptionRedirectionTypeRedirectionDuration、內部例外狀況和 RedirectionScope 物件的陣列,初始化 RedirectionLocation 類別的新執行個體。

RedirectionException(String, RedirectionType, RedirectionDuration, RedirectionScope, RedirectionLocation[])

使用指定的訊息、RedirectionExceptionRedirectionTypeRedirectionDurationRedirectionScope 物件的陣列,初始化 RedirectionLocation 類別的新執行個體。

RedirectionException(String, RedirectionType, RedirectionDuration, RedirectionScope, Exception, RedirectionLocation[])

使用指定的訊息字串、RedirectionExceptionRedirectionTypeRedirectionDuration、內部例外狀況和 RedirectionScope 物件的陣列,初始化 RedirectionLocation 類別的新執行個體。

RedirectionException(SerializationInfo, StreamingContext)

使用指定的 RedirectionExceptionSerializationInfo,初始化 StreamingContext 類別的新執行個體。

protected:
 RedirectionException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected RedirectionException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.ServiceModel.Channels.RedirectionException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.ServiceModel.Channels.RedirectionException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

參數

info
SerializationInfo

序列化資訊。

context
StreamingContext

資料流內容。

適用於

RedirectionException(RedirectionType, RedirectionDuration, RedirectionScope, RedirectionLocation[])

使用指定的 RedirectionExceptionRedirectionTypeRedirectionDurationRedirectionScope 物件的陣列,初始化 RedirectionLocation 類別的新執行個體。

public:
 RedirectionException(System::ServiceModel::Channels::RedirectionType ^ type, System::ServiceModel::Channels::RedirectionDuration ^ duration, System::ServiceModel::Channels::RedirectionScope ^ scope, ... cli::array <System::ServiceModel::Channels::RedirectionLocation ^> ^ locations);
public RedirectionException (System.ServiceModel.Channels.RedirectionType type, System.ServiceModel.Channels.RedirectionDuration duration, System.ServiceModel.Channels.RedirectionScope scope, params System.ServiceModel.Channels.RedirectionLocation[] locations);
new System.ServiceModel.Channels.RedirectionException : System.ServiceModel.Channels.RedirectionType * System.ServiceModel.Channels.RedirectionDuration * System.ServiceModel.Channels.RedirectionScope * System.ServiceModel.Channels.RedirectionLocation[] -> System.ServiceModel.Channels.RedirectionException
Public Sub New (type As RedirectionType, duration As RedirectionDuration, scope As RedirectionScope, ParamArray locations As RedirectionLocation())

參數

type
RedirectionType

重新導向的型別。

duration
RedirectionDuration

重新導向的持續期間。

scope
RedirectionScope

重新導向的範圍。

locations
RedirectionLocation[]

重新導向的位置。

適用於

RedirectionException(RedirectionType, RedirectionDuration, RedirectionScope, Exception, RedirectionLocation[])

使用指定的 RedirectionExceptionRedirectionTypeRedirectionDuration、內部例外狀況和 RedirectionScope 物件的陣列,初始化 RedirectionLocation 類別的新執行個體。

public:
 RedirectionException(System::ServiceModel::Channels::RedirectionType ^ type, System::ServiceModel::Channels::RedirectionDuration ^ duration, System::ServiceModel::Channels::RedirectionScope ^ scope, Exception ^ innerException, ... cli::array <System::ServiceModel::Channels::RedirectionLocation ^> ^ locations);
public RedirectionException (System.ServiceModel.Channels.RedirectionType type, System.ServiceModel.Channels.RedirectionDuration duration, System.ServiceModel.Channels.RedirectionScope scope, Exception innerException, params System.ServiceModel.Channels.RedirectionLocation[] locations);
new System.ServiceModel.Channels.RedirectionException : System.ServiceModel.Channels.RedirectionType * System.ServiceModel.Channels.RedirectionDuration * System.ServiceModel.Channels.RedirectionScope * Exception * System.ServiceModel.Channels.RedirectionLocation[] -> System.ServiceModel.Channels.RedirectionException
Public Sub New (type As RedirectionType, duration As RedirectionDuration, scope As RedirectionScope, innerException As Exception, ParamArray locations As RedirectionLocation())

參數

type
RedirectionType

重新導向的型別。

duration
RedirectionDuration

重新導向的持續期間。

scope
RedirectionScope

重新導向的範圍。

innerException
Exception

內部例外狀況。

locations
RedirectionLocation[]

重新導向的位置。

適用於

RedirectionException(String, RedirectionType, RedirectionDuration, RedirectionScope, RedirectionLocation[])

使用指定的訊息、RedirectionExceptionRedirectionTypeRedirectionDurationRedirectionScope 物件的陣列,初始化 RedirectionLocation 類別的新執行個體。

public:
 RedirectionException(System::String ^ message, System::ServiceModel::Channels::RedirectionType ^ type, System::ServiceModel::Channels::RedirectionDuration ^ duration, System::ServiceModel::Channels::RedirectionScope ^ scope, ... cli::array <System::ServiceModel::Channels::RedirectionLocation ^> ^ locations);
public RedirectionException (string message, System.ServiceModel.Channels.RedirectionType type, System.ServiceModel.Channels.RedirectionDuration duration, System.ServiceModel.Channels.RedirectionScope scope, params System.ServiceModel.Channels.RedirectionLocation[] locations);
new System.ServiceModel.Channels.RedirectionException : string * System.ServiceModel.Channels.RedirectionType * System.ServiceModel.Channels.RedirectionDuration * System.ServiceModel.Channels.RedirectionScope * System.ServiceModel.Channels.RedirectionLocation[] -> System.ServiceModel.Channels.RedirectionException
Public Sub New (message As String, type As RedirectionType, duration As RedirectionDuration, scope As RedirectionScope, ParamArray locations As RedirectionLocation())

參數

message
String

描述目前例外狀況的訊息。

type
RedirectionType

重新導向的型別。

duration
RedirectionDuration

重新導向的持續期間。

scope
RedirectionScope

重新導向的範圍。

locations
RedirectionLocation[]

重新導向的位置。

適用於

RedirectionException(String, RedirectionType, RedirectionDuration, RedirectionScope, Exception, RedirectionLocation[])

使用指定的訊息字串、RedirectionExceptionRedirectionTypeRedirectionDuration、內部例外狀況和 RedirectionScope 物件的陣列,初始化 RedirectionLocation 類別的新執行個體。

public:
 RedirectionException(System::String ^ message, System::ServiceModel::Channels::RedirectionType ^ type, System::ServiceModel::Channels::RedirectionDuration ^ duration, System::ServiceModel::Channels::RedirectionScope ^ scope, Exception ^ innerException, ... cli::array <System::ServiceModel::Channels::RedirectionLocation ^> ^ locations);
public RedirectionException (string message, System.ServiceModel.Channels.RedirectionType type, System.ServiceModel.Channels.RedirectionDuration duration, System.ServiceModel.Channels.RedirectionScope scope, Exception innerException, params System.ServiceModel.Channels.RedirectionLocation[] locations);
new System.ServiceModel.Channels.RedirectionException : string * System.ServiceModel.Channels.RedirectionType * System.ServiceModel.Channels.RedirectionDuration * System.ServiceModel.Channels.RedirectionScope * Exception * System.ServiceModel.Channels.RedirectionLocation[] -> System.ServiceModel.Channels.RedirectionException
Public Sub New (message As String, type As RedirectionType, duration As RedirectionDuration, scope As RedirectionScope, innerException As Exception, ParamArray locations As RedirectionLocation())

參數

message
String

重新導向訊息。

type
RedirectionType

重新導向的型別。

duration
RedirectionDuration

重新導向的持續期間。

scope
RedirectionScope

重新導向的範圍。

innerException
Exception

內部例外狀況。

locations
RedirectionLocation[]

重新導向的位置。

適用於