RedirectionException Konstruktorer
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Initierar en ny instans av RedirectionException klassen.
Överlagringar
RedirectionException(SerializationInfo, StreamingContext)
Initierar en ny instans av RedirectionException klassen med angivet SerializationInfo och 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)
Parametrar
- info
- SerializationInfo
Serialiseringsinformationen.
- context
- StreamingContext
Strömningskontexten.
Gäller för
RedirectionException(RedirectionType, RedirectionDuration, RedirectionScope, RedirectionLocation[])
Initierar en ny instans av RedirectionException klassen med angiven RedirectionType, RedirectionDuration, RedirectionScopeoch matris med RedirectionLocation objekt.
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())
Parametrar
- type
- RedirectionType
Typ av omdirigering.
- duration
- RedirectionDuration
Varaktigheten för omdirigeringen.
- scope
- RedirectionScope
Omfånget för omdirigeringen.
- locations
- RedirectionLocation[]
Platserna för omdirigeringen.
Gäller för
RedirectionException(RedirectionType, RedirectionDuration, RedirectionScope, Exception, RedirectionLocation[])
Initierar en ny instans av RedirectionException med angivet RedirectionType, RedirectionDuration, RedirectionScope, inre undantag och matris med RedirectionLocation objekt.
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())
Parametrar
- type
- RedirectionType
Typ av omdirigering.
- duration
- RedirectionDuration
Varaktigheten för omdirigeringen.
- scope
- RedirectionScope
Omfånget för omdirigeringen.
- innerException
- Exception
Det inre undantaget.
- locations
- RedirectionLocation[]
Platserna för omdirigeringen.
Gäller för
RedirectionException(String, RedirectionType, RedirectionDuration, RedirectionScope, RedirectionLocation[])
Initierar en ny instans av RedirectionException klassen med det angivna meddelandet , RedirectionType, RedirectionDuration, RedirectionScopeoch matrisen med RedirectionLocation objekt.
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())
Parametrar
- message
- String
Meddelandet som beskriver det aktuella undantaget.
- type
- RedirectionType
Typ av omdirigering.
- duration
- RedirectionDuration
Varaktigheten för omdirigeringen.
- scope
- RedirectionScope
Omfånget för omdirigeringen.
- locations
- RedirectionLocation[]
Platserna för omdirigeringen.
Gäller för
RedirectionException(String, RedirectionType, RedirectionDuration, RedirectionScope, Exception, RedirectionLocation[])
Initierar en ny instans av RedirectionException med den angivna meddelandesträngen, RedirectionType, RedirectionDuration, RedirectionScope, inre undantaget och matrisen med RedirectionLocation objekt.
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())
Parametrar
- message
- String
Omdirigeringsmeddelandet.
- type
- RedirectionType
Typ av omdirigering.
- duration
- RedirectionDuration
Varaktigheten för omdirigeringen.
- scope
- RedirectionScope
Omfånget för omdirigeringen.
- innerException
- Exception
Det inre undantaget.
- locations
- RedirectionLocation[]
Platserna för omdirigeringen.