C# Класс System.ComponentModel.WarningException

Наследование: System.SystemException
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
WarningException ( ) : Microsoft.Win32

Initializes a new instance of the class with the last Win32 error that occured.

WarningException ( string message ) : Microsoft.Win32

Initializes a new instance of the class with the specified message and no Help file.

WarningException ( string message, Exception innerException ) : Microsoft.Win32

Initializes a new instance of the Exception class with a specified error message and a reference to the inner exception that is the cause of this exception. FxCop CA1032: Multiple constructors are required to correctly implement a custom exception.

WarningException ( string message, string helpUrl ) : Microsoft.Win32

Initializes a new instance of the class with the specified message, and with access to the specified Help file.

WarningException ( string message, string helpUrl, string helpTopic ) : Microsoft.Win32

Initializes a new instance of the class with the specified message, and with access to the specified Help file and topic.

Защищенные методы

Метод Описание
WarningException ( SerializationInfo info, StreamingContext context ) : Microsoft.Win32

Need this constructor since Exception implements ISerializable.

Приватные методы

Метод Описание
GetObjectData ( SerializationInfo info, StreamingContext context ) : void

Описание методов

WarningException() публичный Метод

Initializes a new instance of the class with the last Win32 error that occured.

public WarningException ( ) : Microsoft.Win32
Результат Microsoft.Win32

WarningException() защищенный Метод

Need this constructor since Exception implements ISerializable.
protected WarningException ( SerializationInfo info, StreamingContext context ) : Microsoft.Win32
info SerializationInfo
context StreamingContext
Результат Microsoft.Win32

WarningException() публичный Метод

Initializes a new instance of the class with the specified message and no Help file.

public WarningException ( string message ) : Microsoft.Win32
message string
Результат Microsoft.Win32

WarningException() публичный Метод

Initializes a new instance of the Exception class with a specified error message and a reference to the inner exception that is the cause of this exception. FxCop CA1032: Multiple constructors are required to correctly implement a custom exception.
public WarningException ( string message, Exception innerException ) : Microsoft.Win32
message string
innerException System.Exception
Результат Microsoft.Win32

WarningException() публичный Метод

Initializes a new instance of the class with the specified message, and with access to the specified Help file.

public WarningException ( string message, string helpUrl ) : Microsoft.Win32
message string
helpUrl string
Результат Microsoft.Win32

WarningException() публичный Метод

Initializes a new instance of the class with the specified message, and with access to the specified Help file and topic.

public WarningException ( string message, string helpUrl, string helpTopic ) : Microsoft.Win32
message string
helpUrl string
helpTopic string
Результат Microsoft.Win32