RedirectionException Konstruktor
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Menginisialisasi instans baru kelas RedirectionException.
Overload
RedirectionException(SerializationInfo, StreamingContext)
Menginisialisasi instans RedirectionException baru kelas dengan yang ditentukan SerializationInfo dan 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)
Parameter
- info
- SerializationInfo
Informasi serialisasi.
- context
- StreamingContext
Konteks streaming.
Berlaku untuk
RedirectionException(RedirectionType, RedirectionDuration, RedirectionScope, RedirectionLocation[])
Menginisialisasi instans RedirectionException baru kelas dengan array objek , , RedirectionDurationRedirectionScope, dan RedirectionLocation yang ditentukanRedirectionType.
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())
Parameter
- type
- RedirectionType
Jenis pengalihan.
- duration
- RedirectionDuration
Durasi pengalihan.
- scope
- RedirectionScope
Cakupan pengalihan.
- locations
- RedirectionLocation[]
Lokasi untuk pengalihan.
Berlaku untuk
RedirectionException(RedirectionType, RedirectionDuration, RedirectionScope, Exception, RedirectionLocation[])
Menginisialisasi instans RedirectionException baru dengan , , RedirectionScopeRedirectionDuration, pengecualian dalam, dan array RedirectionLocation objek yang ditentukanRedirectionType.
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())
Parameter
- type
- RedirectionType
Jenis pengalihan.
- duration
- RedirectionDuration
Durasi pengalihan.
- scope
- RedirectionScope
Cakupan pengalihan.
- innerException
- Exception
Pengecualian dalam.
- locations
- RedirectionLocation[]
Lokasi untuk pengalihan.
Berlaku untuk
RedirectionException(String, RedirectionType, RedirectionDuration, RedirectionScope, RedirectionLocation[])
Menginisialisasi instans RedirectionException baru kelas dengan pesan, , RedirectionType, RedirectionDurationRedirectionScope, dan array RedirectionLocation objek yang ditentukan.
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())
Parameter
- message
- String
Pesan yang menjelaskan pengecualian saat ini.
- type
- RedirectionType
Jenis pengalihan.
- duration
- RedirectionDuration
Durasi pengalihan.
- scope
- RedirectionScope
Cakupan pengalihan.
- locations
- RedirectionLocation[]
Lokasi untuk pengalihan.
Berlaku untuk
RedirectionException(String, RedirectionType, RedirectionDuration, RedirectionScope, Exception, RedirectionLocation[])
Menginisialisasi instans RedirectionException baru dengan string pesan yang ditentukan, RedirectionType, RedirectionDuration, RedirectionScope, pengecualian dalam, dan array RedirectionLocation objek.
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())
Parameter
- message
- String
Pesan pengalihan.
- type
- RedirectionType
Jenis pengalihan.
- duration
- RedirectionDuration
Durasi pengalihan.
- scope
- RedirectionScope
Cakupan pengalihan.
- innerException
- Exception
Pengecualian dalam.
- locations
- RedirectionLocation[]
Lokasi untuk pengalihan.