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[]

重定向的位置。

适用于