ImageFormatLimitationException 构造函数
定义
重载
| ImageFormatLimitationException() |
初始化 ImageFormatLimitationException 类的新实例。Initializes a new instance of the ImageFormatLimitationException class. |
| ImageFormatLimitationException(String) |
用指定的错误消息初始化 ImageFormatLimitationException 类的新实例。Initializes a new instance of the ImageFormatLimitationException class with a specified error message. |
| ImageFormatLimitationException(SerializationInfo, StreamingContext) |
用序列化数据初始化 ImageFormatLimitationException 类的新实例。Initializes a new instance of the ImageFormatLimitationException class with serialized data. |
| ImageFormatLimitationException(String, Exception) |
使用指定的错误消息和引发此异常的异常初始化 ImageFormatLimitationException 类的新实例。Initializes a new instance of the ImageFormatLimitationException class with a specified error message and the exception that is the cause of this exception. |
ImageFormatLimitationException()
初始化 ImageFormatLimitationException 类的新实例。Initializes a new instance of the ImageFormatLimitationException class.
public:
ImageFormatLimitationException();
public ImageFormatLimitationException ();
Public Sub New ()
适用于
ImageFormatLimitationException(String)
用指定的错误消息初始化 ImageFormatLimitationException 类的新实例。Initializes a new instance of the ImageFormatLimitationException class with a specified error message.
public:
ImageFormatLimitationException(System::String ^ message);
public ImageFormatLimitationException (string? message);
public ImageFormatLimitationException (string message);
new System.Reflection.Metadata.ImageFormatLimitationException : string -> System.Reflection.Metadata.ImageFormatLimitationException
Public Sub New (message As String)
参数
- message
- String
说明发生此异常的原因的错误消息。The error message that explains the reason for this exception.
适用于
ImageFormatLimitationException(SerializationInfo, StreamingContext)
用序列化数据初始化 ImageFormatLimitationException 类的新实例。Initializes a new instance of the ImageFormatLimitationException class with serialized data.
protected:
ImageFormatLimitationException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected ImageFormatLimitationException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.Reflection.Metadata.ImageFormatLimitationException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Reflection.Metadata.ImageFormatLimitationException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
参数
- info
- SerializationInfo
承载序列化对象数据的对象。The object that holds the serialized object data.
- context
- StreamingContext
关于来源和目标的上下文信息The contextual information about the source or destination.
适用于
ImageFormatLimitationException(String, Exception)
使用指定的错误消息和引发此异常的异常初始化 ImageFormatLimitationException 类的新实例。Initializes a new instance of the ImageFormatLimitationException class with a specified error message and the exception that is the cause of this exception.
public:
ImageFormatLimitationException(System::String ^ message, Exception ^ innerException);
public ImageFormatLimitationException (string? message, Exception? innerException);
public ImageFormatLimitationException (string message, Exception innerException);
new System.Reflection.Metadata.ImageFormatLimitationException : string * Exception -> System.Reflection.Metadata.ImageFormatLimitationException
Public Sub New (message As String, innerException As Exception)
参数
- message
- String
说明发生此异常的原因的错误消息。The error message that explains the reason for this exception.
- innerException
- Exception
作为当前异常原因的异常,如果没有指定内部异常,则为 null。The exception that is the cause of the current exception, or null if no inner exception is specified.