DispatcherUnhandledExceptionFilterEventArgs Класс
Определение
Предоставляет данные для события DispatcherUnhandledExceptionFilter.Provides data for the DispatcherUnhandledExceptionFilter event.
public ref class DispatcherUnhandledExceptionFilterEventArgs sealed : System::Windows::Threading::DispatcherEventArgs
public sealed class DispatcherUnhandledExceptionFilterEventArgs : System.Windows.Threading.DispatcherEventArgs
type DispatcherUnhandledExceptionFilterEventArgs = class
inherit DispatcherEventArgs
Public NotInheritable Class DispatcherUnhandledExceptionFilterEventArgs
Inherits DispatcherEventArgs
- Наследование
Комментарии
Это UnhandledExceptionFilter событие возникает, когда код, выполняемый способом Dispatcher , вызывает исключение, которое не обрабатывается.The UnhandledExceptionFilter event occurs when code executing by way of the Dispatcher throws an exception which is not handled.
Событие предоставляет средства, которые не UnhandledException вызывают событие. UnhandledExceptionFilterThe UnhandledExceptionFilter event provides a means to not raise the UnhandledException event. RequestCatch DispatcherUnhandledExceptionFilterEventArgs UnhandledException false
Событие создается первым, а если для имеет значение, событие не будет вызвано. UnhandledExceptionFilterThe UnhandledExceptionFilter event is raised first, and If RequestCatch on the DispatcherUnhandledExceptionFilterEventArgs is set to false
, the UnhandledException event will not be raised.
Свойства
Dispatcher |
Объект Dispatcher, связанный с данным событием.The Dispatcher associated with this event. (Унаследовано от DispatcherEventArgs) |
Exception |
Возвращает исключение, сгенерированное при выполнении кода с помощью диспетчера.Gets the exception that was raised when executing code by way of the dispatcher. |
RequestCatch |
Возвращает или задает значение, указывающее, следует ли перехватить исключение и вызвать обработчики события.Gets or sets whether the exception should be caught and the event handlers called. |
Методы
Equals(Object) |
Определяет, равен ли указанный объект текущему объекту.Determines whether the specified object is equal to the current object. (Унаследовано от Object) |
GetHashCode() |
Служит в качестве хэш-функции по умолчанию.Serves as the default hash function. (Унаследовано от Object) |
GetType() |
Возвращает объект Type для текущего экземпляра.Gets the Type of the current instance. (Унаследовано от Object) |
MemberwiseClone() |
Создает неполную копию текущего объекта Object.Creates a shallow copy of the current Object. (Унаследовано от Object) |
ToString() |
Возвращает строку, представляющую текущий объект.Returns a string that represents the current object. (Унаследовано от Object) |