Bewerken

Delen via


ImageFormatLimitationException Constructors

Definition

Overloads

ImageFormatLimitationException()

Initializes a new instance of the ImageFormatLimitationException class.

ImageFormatLimitationException(String)

Initializes a new instance of the ImageFormatLimitationException class with a specified error message.

ImageFormatLimitationException(SerializationInfo, StreamingContext)
Obsolete.

Initializes a new instance of the ImageFormatLimitationException class with serialized data.

ImageFormatLimitationException(String, Exception)

Initializes a new instance of the ImageFormatLimitationException class with a specified error message and the exception that is the cause of this exception.

ImageFormatLimitationException()

Source:
ImageFormatLimitationException.cs
Source:
ImageFormatLimitationException.cs
Source:
ImageFormatLimitationException.cs
Source:
ImageFormatLimitationException.cs

Initializes a new instance of the ImageFormatLimitationException class.

public:
 ImageFormatLimitationException();
public ImageFormatLimitationException ();
Public Sub New ()

Applies to

ImageFormatLimitationException(String)

Source:
ImageFormatLimitationException.cs
Source:
ImageFormatLimitationException.cs
Source:
ImageFormatLimitationException.cs
Source:
ImageFormatLimitationException.cs

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)

Parameters

message
String

The error message that explains the reason for this exception.

Applies to

ImageFormatLimitationException(SerializationInfo, StreamingContext)

Source:
ImageFormatLimitationException.Serialization.cs
Source:
ImageFormatLimitationException.Serialization.cs
Source:
ImageFormatLimitationException.Serialization.cs
Source:
ImageFormatLimitationException.Serialization.cs

Caution

This API supports obsolete formatter-based serialization. It should not be called or extended by application code.

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);
[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)

Parameters

info
SerializationInfo

The object that holds the serialized object data.

context
StreamingContext

The contextual information about the source or destination.

Attributes

Applies to

ImageFormatLimitationException(String, Exception)

Source:
ImageFormatLimitationException.cs
Source:
ImageFormatLimitationException.cs
Source:
ImageFormatLimitationException.cs
Source:
ImageFormatLimitationException.cs

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)

Parameters

message
String

The error message that explains the reason for this exception.

innerException
Exception

The exception that is the cause of the current exception, or null if no inner exception is specified.

Applies to