CommandCanceledException - класс |
Пространство имён: Tessa.Platform.CommandLine
[SerializableAttribute] public class CommandCanceledException : CommandException
Тип CommandCanceledException предоставляет следующие члены.
| Имя | Описание | |
|---|---|---|
| CommandCanceledException() |
Initializes a new instance of the CommandCanceledException class.
| |
| CommandCanceledException(String) |
Initializes a new instance of the CommandCanceledException class
with the specified command name.
| |
| CommandCanceledException(SerializationInfo, StreamingContext) |
Initializes a new instance of the CommandCanceledException class with serialized data.
| |
| CommandCanceledException(String, String) |
Initializes a new instance of the CommandCanceledException class
with the specified command name and error message.
| |
| CommandCanceledException(String, String, Exception) |
Initializes a new instance of the CommandCanceledException class
with the specified command name, error message and the exception that is the cause of this exception.
|
| Имя | Описание | |
|---|---|---|
| CommandName |
Gets the name of the command that causes this exception.
(Унаследован от CommandException.) | |
| Data | Gets a collection of key/value pairs that provide additional user-defined information about the exception. (Унаследован от Exception.) | |
| HelpLink | Gets or sets a link to the help file associated with this exception. (Унаследован от Exception.) | |
| HResult | Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception. (Унаследован от Exception.) | |
| InnerException | Gets the Exception instance that caused the current exception. (Унаследован от Exception.) | |
| Message | Gets a message that describes the current exception. (Унаследован от Exception.) | |
| Source | Gets or sets the name of the application or the object that causes the error. (Унаследован от Exception.) | |
| StackTrace | Gets a string representation of the immediate frames on the call stack. (Унаследован от Exception.) | |
| TargetSite | Gets the method that throws the current exception. (Унаследован от Exception.) |
| Имя | Описание | |
|---|---|---|
| Equals | Determines whether the specified object is equal to the current object. (Унаследован от Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Унаследован от Object.) | |
| GetBaseException | When overridden in a derived class, returns the Exception that is the root cause of one or more subsequent exceptions. (Унаследован от Exception.) | |
| GetHashCode | Serves as the default hash function. (Унаследован от Object.) | |
| GetObjectData | When overridden in a derived class, sets the SerializationInfo with information about the exception. (Унаследован от CommandException.) | |
| GetType | Gets the runtime type of the current instance. (Унаследован от Exception.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Унаследован от Object.) | |
| ToString | Creates and returns a string representation of the current exception. (Унаследован от Exception.) |
| Имя | Описание | |
|---|---|---|
| SerializeObjectState | Occurs when an exception is serialized to create an exception state object that contains serialized data about the exception. (Унаследован от Exception.) |
| Имя | Описание | |
|---|---|---|
| Get | (Определяется ComHelper.) | |
| GetFullText() | Перегружен.
Возвращает полную информацию по заданному исключению, включая текст нескольких исключений для AggregateException.
Для обычных исключений результат аналогичен вызову метода ToString().
(Определяется PlatformExtensions.) | |
| GetFullText() | Перегружен.
Возвращает полную информацию по заданному исключению, включая серверный стектрейс
для FaultException и текст нескольких исключений для AggregateException.
Для обычных исключений результат аналогичен вызову метода ToString().
(Определяется PlatformExtensions.) | |
| GetSessionExceptionCode |
Возвращает код исключения, выброшенного на сервере как SessionException,
или Unknown, если код исключения получить не удалось.
(Определяется RuntimeExtensions.) | |
| GetShortText |
Возвращает краткую информацию по заданному исключению, что обычно соответствует Message.
(Определяется PlatformExtensions.) | |
| GetStatusCode |
Возвращает код ошибки HTTP-запроса в зависимости от вида исключения.
Для неизвестных исключений возвращается InternalServerError.
(Определяется PlatformExtensions.) | |
| InternalMarkerCanvas |
Возвращает маркер аннотации
(Определяется AnnotationInternalsAccessor.) | |
| Invoke | (Определяется ComHelper.) | |
| IsExceptionCritical |
Возвращает признак того, что указанное исключение относится в разряд критических и должно привести к завершению приложения.
(Определяется RuntimeExtensions.) | |
| IsLoginHiddenException |
Возвращает признак того, что исключение не отображается пользователю,
когда оно возникло при входе в систему. Например, пользователь не входит в домен.
(Определяется RuntimeExtensions.) | |
| IsUnauthorizedWebException |
Возвращает признак того, что исключение является ошибкой с кодом ошибки 401: Unauthorized.
Обычно такое исключение происходит при неудачной авторизации Windows. Учитывает агрегирование асинхронных исключений.
(Определяется RuntimeExtensions.) | |
| PipeIsBroken |
Возвращает признак того, что исключение связано с остановкой канала, например, если клиент разорвал подключение, а метод пытается передать сообщение клиенту.
Обычно соответствует ошибке с текстом "Pipe is broken". Учитывает наличие вложенных исключений и AggregateException.
(Определяется PipesExtensions.) | |
| Set | (Определяется ComHelper.) | |
| ToJson |
Выполняет сериализацию исключения в JSON. Может использоваться для передачи исключений между сервером и клиентом.
(Определяется PlatformExtensions.) |