RedirectionException Конструкторы
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Инициализирует новый экземпляр класса RedirectionException.
Перегрузки
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 с заданными типами RedirectionType, RedirectionDuration, 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 с заданными типами RedirectionType, RedirectionDuration, 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, RedirectionScope и массивом объектов 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[])
Инициализирует новый экземпляр исключения RedirectionException с заданной строкой сообщения, RedirectionType, RedirectionDuration, 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[]
Расположения для перенаправления.