ImageFormatLimitationException 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
ImageFormatLimitationException() |
初始化 ImageFormatLimitationException 类的新实例。 |
ImageFormatLimitationException(String) |
用指定的错误消息初始化 ImageFormatLimitationException 类的新实例。 |
ImageFormatLimitationException(SerializationInfo, StreamingContext) |
已过时.
用序列化数据初始化 ImageFormatLimitationException 类的新实例。 |
ImageFormatLimitationException(String, Exception) |
使用指定的错误消息和引发此异常的异常初始化 ImageFormatLimitationException 类的新实例。 |
ImageFormatLimitationException()
初始化 ImageFormatLimitationException 类的新实例。
public:
ImageFormatLimitationException();
public ImageFormatLimitationException ();
Public Sub New ()
适用于
ImageFormatLimitationException(String)
用指定的错误消息初始化 ImageFormatLimitationException 类的新实例。
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
说明发生此异常的原因的错误消息。
适用于
ImageFormatLimitationException(SerializationInfo, StreamingContext)
注意
This API supports obsolete formatter-based serialization. It should not be called or extended by application code.
用序列化数据初始化 ImageFormatLimitationException 类的新实例。
protected:
ImageFormatLimitationException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected ImageFormatLimitationException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
[System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
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
[<System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
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
承载序列化对象数据的对象。
- context
- StreamingContext
关于来源和目标的上下文信息
- 属性
适用于
ImageFormatLimitationException(String, Exception)
使用指定的错误消息和引发此异常的异常初始化 ImageFormatLimitationException 类的新实例。
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
说明发生此异常的原因的错误消息。
- innerException
- Exception
作为当前异常原因的异常,如果没有指定内部异常,则为 null
。