InvalidOleVariantTypeException Класс
Определение
Исключение, которое выдается упаковщиком при обнаружении аргумента типа variant, маршалинг которого в управляемый код выполнить невозможно.The exception thrown by the marshaler when it encounters an argument of a variant type that can not be marshaled to managed code.
public ref class InvalidOleVariantTypeException : Exception
public ref class InvalidOleVariantTypeException : SystemException
public class InvalidOleVariantTypeException : Exception
public class InvalidOleVariantTypeException : SystemException
[System.Serializable]
public class InvalidOleVariantTypeException : SystemException
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public class InvalidOleVariantTypeException : SystemException
type InvalidOleVariantTypeException = class
inherit Exception
type InvalidOleVariantTypeException = class
inherit SystemException
[<System.Serializable>]
type InvalidOleVariantTypeException = class
inherit SystemException
[<System.Serializable>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type InvalidOleVariantTypeException = class
inherit SystemException
Public Class InvalidOleVariantTypeException
Inherits Exception
Public Class InvalidOleVariantTypeException
Inherits SystemException
- Наследование
- Наследование
- Атрибуты
Комментарии
InvalidOLEVariantTypeException
использует COR_E_INVALIDOLEVARIANTTYPE HRESULT, имеющий значение 0x80131531.InvalidOLEVariantTypeException
uses the HRESULT COR_E_INVALIDOLEVARIANTTYPE which has the value 0x80131531.
Конструкторы
InvalidOleVariantTypeException() |
Инициализирует новый экземпляр класса |
InvalidOleVariantTypeException(SerializationInfo, StreamingContext) |
Инициализирует новый экземпляр класса |
InvalidOleVariantTypeException(String) |
Инициализирует новый экземпляр класса |
InvalidOleVariantTypeException(String, Exception) |
Инициализирует новый экземпляр класса InvalidOleVariantTypeException указанным сообщением об ошибке и ссылкой на внутреннее исключение, вызвавшее данное исключение.Initializes a new instance of the InvalidOleVariantTypeException class with a specified error message and a reference to the inner exception that is the cause of this exception. |
Свойства
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 |
Возвращает или задает HRESULT — кодированное числовое значение, присвоенное определенному исключению.Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception. (Унаследовано от Exception) |
InnerException |
Возвращает экземпляр класса Exception, который вызвал текущее исключение.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(Object) |
Определяет, равен ли указанный объект текущему объекту.Determines whether the specified object is equal to the current object. (Унаследовано от Object) |
GetBaseException() |
При переопределении в производном классе возвращает исключение Exception, которое является первопричиной одного или нескольких последующих исключений.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(SerializationInfo, StreamingContext) |
При переопределении в производном классе задает объект SerializationInfo со сведениями об исключении.When overridden in a derived class, sets the SerializationInfo with information about the exception. (Унаследовано от Exception) |
GetType() |
Возвращает тип среды выполнения текущего экземпляра.Gets the runtime type of the current instance. (Унаследовано от Exception) |
MemberwiseClone() |
Создает неполную копию текущего объекта Object.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) |