RedirectionException Constructores
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Inicializa una nueva instancia de la clase RedirectionException.
Sobrecargas
RedirectionException(SerializationInfo, StreamingContext)
Inicializa una nueva instancia de la RedirectionException clase con los valores especificados SerializationInfo y 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)
Parámetros
- info
- SerializationInfo
Información de serialización.
- context
- StreamingContext
Contexto de streaming.
Se aplica a
RedirectionException(RedirectionType, RedirectionDuration, RedirectionScope, RedirectionLocation[])
Inicializa una nueva instancia de la RedirectionException clase con la matriz , RedirectionType, RedirectionDurationy especificada RedirectionScopede RedirectionLocation objetos .
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())
Parámetros
- type
- RedirectionType
Tipo de redireccionamiento.
- duration
- RedirectionDuration
Duración del redireccionamiento.
- scope
- RedirectionScope
Ámbito del redireccionamiento.
- locations
- RedirectionLocation[]
Ubicaciones para el redireccionamiento.
Se aplica a
RedirectionException(RedirectionType, RedirectionDuration, RedirectionScope, Exception, RedirectionLocation[])
Inicializa una nueva instancia de RedirectionException con la matriz de objetos , , RedirectionType, RedirectionDuration, y RedirectionScope especificadaRedirectionLocation.
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())
Parámetros
- type
- RedirectionType
Tipo de redireccionamiento.
- duration
- RedirectionDuration
Duración del redireccionamiento.
- scope
- RedirectionScope
Ámbito del redireccionamiento.
- innerException
- Exception
Excepción interna.
- locations
- RedirectionLocation[]
Ubicaciones para el redireccionamiento.
Se aplica a
RedirectionException(String, RedirectionType, RedirectionDuration, RedirectionScope, RedirectionLocation[])
Inicializa una nueva instancia de la RedirectionException clase con el mensaje especificado, , RedirectionTypeRedirectionDuration, RedirectionScopey matriz de RedirectionLocation objetos .
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())
Parámetros
- message
- String
Mensaje que describe la excepción actual.
- type
- RedirectionType
Tipo de redireccionamiento.
- duration
- RedirectionDuration
Duración del redireccionamiento.
- scope
- RedirectionScope
Ámbito del redireccionamiento.
- locations
- RedirectionLocation[]
Ubicaciones para el redireccionamiento.
Se aplica a
RedirectionException(String, RedirectionType, RedirectionDuration, RedirectionScope, Exception, RedirectionLocation[])
Inicializa una nueva instancia de con la cadena de RedirectionException mensaje especificada, , RedirectionTypeRedirectionDuration, RedirectionScope, excepción interna y matriz de RedirectionLocation objetos .
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())
Parámetros
- message
- String
Mensaje de redirección.
- type
- RedirectionType
Tipo de redireccionamiento.
- duration
- RedirectionDuration
Duración del redireccionamiento.
- scope
- RedirectionScope
Ámbito del redireccionamiento.
- innerException
- Exception
Excepción interna.
- locations
- RedirectionLocation[]
Ubicaciones para el redireccionamiento.