语言

RedirectionException 构造函数

定义

初始化 RedirectionException 类的新实例。

重载

名称 说明
RedirectionException(SerializationInfo, StreamingContext)

使用指定的RedirectionException和 SerializationInfo. 初始化类的新实例StreamingContext。

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

使用指定的RedirectionException对象、RedirectionTypeRedirectionDuration对象数组RedirectionScope初始化类的新实例RedirectionLocation。

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

使用指定的 RedirectionException、、RedirectionTypeRedirectionDuration内部异常和对象的数组RedirectionScope初始化新实例RedirectionLocation。

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

使用指定的消息、对象RedirectionException数组和对象数组RedirectionType初始化类的新实例RedirectionDuration。 RedirectionScopeRedirectionLocation

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

使用指定的消息字符串、RedirectionException、、、RedirectionTypeRedirectionDuration内部异常和对象的数组RedirectionScope初始化新实例RedirectionLocation。

RedirectionException(SerializationInfo, StreamingContext)

使用指定的RedirectionException和 SerializationInfo. 初始化类的新实例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[])

使用指定的RedirectionException对象、RedirectionTypeRedirectionDuration对象数组RedirectionScope初始化类的新实例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[])

使用指定的 RedirectionException、、RedirectionTypeRedirectionDuration内部异常和对象的数组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[])

使用指定的消息、对象RedirectionException数组和对象数组RedirectionType初始化类的新实例RedirectionDuration。 RedirectionScopeRedirectionLocation

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

使用指定的消息字符串、RedirectionException、、、RedirectionTypeRedirectionDuration内部异常和对象的数组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[]

重定向的位置。

适用于