Edit

Share via


RedirectionException Constructors

Definition

Initializes a new instance of the RedirectionException class.

Overloads

RedirectionException(SerializationInfo, StreamingContext)

Initializes a new instance of the RedirectionException class with the specified SerializationInfo and StreamingContext.

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

Initializes a new instance of the RedirectionException class with the specified RedirectionType, RedirectionDuration, RedirectionScope, and array of RedirectionLocation objects.

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

Initializes a new instance of the RedirectionException with the specified RedirectionType, RedirectionDuration, RedirectionScope, inner exception, and array of RedirectionLocation objects.

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

Initializes a new instance of the RedirectionException class with the specified message, RedirectionType, RedirectionDuration, RedirectionScope, and array of RedirectionLocation objects.

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

Initializes a new instance of the RedirectionException with the specified message string, RedirectionType, RedirectionDuration, RedirectionScope, inner exception, and array of RedirectionLocation objects.

RedirectionException(SerializationInfo, StreamingContext)

Initializes a new instance of the RedirectionException class with the specified SerializationInfo and 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)

Parameters

info
SerializationInfo

The serialization information.

context
StreamingContext

The streaming context.

Applies to

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

Initializes a new instance of the RedirectionException class with the specified RedirectionType, RedirectionDuration, RedirectionScope, and array of RedirectionLocation objects.

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())

Parameters

type
RedirectionType

The type of the redirection.

duration
RedirectionDuration

The duration of the redirection.

scope
RedirectionScope

The scope of the redirection.

locations
RedirectionLocation[]

The locations for the redirection.

Applies to

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

Initializes a new instance of the RedirectionException with the specified RedirectionType, RedirectionDuration, RedirectionScope, inner exception, and array of RedirectionLocation objects.

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())

Parameters

type
RedirectionType

The type of the redirection.

duration
RedirectionDuration

The duration of the redirection.

scope
RedirectionScope

The scope of the redirection.

innerException
Exception

The inner exception.

locations
RedirectionLocation[]

The locations for the redirection.

Applies to

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

Initializes a new instance of the RedirectionException class with the specified message, RedirectionType, RedirectionDuration, RedirectionScope, and array of RedirectionLocation objects.

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())

Parameters

message
String

The message that describes the current exception.

type
RedirectionType

The type of the redirection.

duration
RedirectionDuration

The duration of the redirection.

scope
RedirectionScope

The scope of the redirection.

locations
RedirectionLocation[]

The locations for the redirection.

Applies to

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

Initializes a new instance of the RedirectionException with the specified message string, RedirectionType, RedirectionDuration, RedirectionScope, inner exception, and array of RedirectionLocation objects.

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())

Parameters

message
String

The redirection message.

type
RedirectionType

The type of redirection.

duration
RedirectionDuration

The duration of the redirection.

scope
RedirectionScope

The scope of the redirection.

innerException
Exception

The inner exception.

locations
RedirectionLocation[]

The locations for the redirection.

Applies to