ProviderException Конструкторы
Определение
Создает новый экземпляр класса ProviderException.Creates a new instance of the ProviderException class.
Перегрузки
ProviderException() |
Создает новый экземпляр класса ProviderException.Creates a new instance of the ProviderException class. |
ProviderException(String) |
Создает новый экземпляр класса ProviderException.Creates a new instance of the ProviderException class. |
ProviderException(SerializationInfo, StreamingContext) |
Создает новый экземпляр класса ProviderException.Creates a new instance of the ProviderException class. |
ProviderException(String, Exception) |
Создает новый экземпляр класса ProviderException.Creates a new instance of the ProviderException class. |
ProviderException()
Создает новый экземпляр класса ProviderException.Creates a new instance of the ProviderException class.
public:
ProviderException();
public ProviderException ();
Public Sub New ()
Применяется к
ProviderException(String)
Создает новый экземпляр класса ProviderException.Creates a new instance of the ProviderException class.
public:
ProviderException(System::String ^ message);
public ProviderException (string message);
new System.Configuration.Provider.ProviderException : string -> System.Configuration.Provider.ProviderException
Public Sub New (message As String)
Параметры
- message
- String
Создано сообщение, описывающее причину возникновения ProviderException.A message describing why this ProviderException was thrown.
Применяется к
ProviderException(SerializationInfo, StreamingContext)
Создает новый экземпляр класса ProviderException.Creates a new instance of the ProviderException class.
protected:
ProviderException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected ProviderException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.Configuration.Provider.ProviderException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Configuration.Provider.ProviderException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
Параметры
- info
- SerializationInfo
Объект, содержащий сведения о выполнении десериализации.The object that holds the information to deserialize.
- context
- StreamingContext
Контекстные сведения об источнике или назначении.Contextual information about the source or destination.
Применяется к
ProviderException(String, Exception)
Создает новый экземпляр класса ProviderException.Creates a new instance of the ProviderException class.
public:
ProviderException(System::String ^ message, Exception ^ innerException);
public ProviderException (string message, Exception innerException);
new System.Configuration.Provider.ProviderException : string * Exception -> System.Configuration.Provider.ProviderException
Public Sub New (message As String, innerException As Exception)
Параметры
- message
- String
Создано сообщение, описывающее причину возникновения ProviderException.A message describing why this ProviderException was thrown.
- innerException
- Exception
Создано исключение, которое вызвало ProviderException.The exception that caused this ProviderException to be thrown.