Breyta

Deila með


CodeDomSerializerException Constructors

Definition

Initializes a new instance of the CodeDomSerializerException class.

Overloads

CodeDomSerializerException(Exception, CodeLinePragma)

Initializes a new instance of the CodeDomSerializerException class using the specified exception and line information.

CodeDomSerializerException(Exception, IDesignerSerializationManager)

Initializes a new instance of the CodeDomSerializerException class.

CodeDomSerializerException(SerializationInfo, StreamingContext)

Initializes a new instance of the CodeDomSerializerException class using the specified serialization data and context.

CodeDomSerializerException(String, CodeLinePragma)

Initializes a new instance of the CodeDomSerializerException class using the specified message and line information.

CodeDomSerializerException(String, IDesignerSerializationManager)

Initializes a new instance of the CodeDomSerializerException class.

CodeDomSerializerException(Exception, CodeLinePragma)

Source:
CodeDomSerializerException.cs
Source:
CodeDomSerializerException.cs
Source:
CodeDomSerializerException.cs

Initializes a new instance of the CodeDomSerializerException class using the specified exception and line information.

public:
 CodeDomSerializerException(Exception ^ ex, System::CodeDom::CodeLinePragma ^ linePragma);
public CodeDomSerializerException (Exception ex, System.CodeDom.CodeLinePragma linePragma);
public CodeDomSerializerException (Exception? ex, System.CodeDom.CodeLinePragma? linePragma);
new System.ComponentModel.Design.Serialization.CodeDomSerializerException : Exception * System.CodeDom.CodeLinePragma -> System.ComponentModel.Design.Serialization.CodeDomSerializerException
Public Sub New (ex As Exception, linePragma As CodeLinePragma)

Parameters

ex
Exception

The exception to throw.

linePragma
CodeLinePragma

A CodeLinePragma that indicates where the exception occurred.

Applies to

CodeDomSerializerException(Exception, IDesignerSerializationManager)

Source:
CodeDomSerializerException.cs
Source:
CodeDomSerializerException.cs
Source:
CodeDomSerializerException.cs

Initializes a new instance of the CodeDomSerializerException class.

public:
 CodeDomSerializerException(Exception ^ ex, System::ComponentModel::Design::Serialization::IDesignerSerializationManager ^ manager);
public CodeDomSerializerException (Exception ex, System.ComponentModel.Design.Serialization.IDesignerSerializationManager manager);
public CodeDomSerializerException (Exception? ex, System.ComponentModel.Design.Serialization.IDesignerSerializationManager manager);
new System.ComponentModel.Design.Serialization.CodeDomSerializerException : Exception * System.ComponentModel.Design.Serialization.IDesignerSerializationManager -> System.ComponentModel.Design.Serialization.CodeDomSerializerException
Public Sub New (ex As Exception, manager As IDesignerSerializationManager)

Parameters

ex
Exception

The exception to throw.

manager
IDesignerSerializationManager

The IDesignerSerializationManager object from which to extract the context.

Exceptions

Manager is null.

Applies to

CodeDomSerializerException(SerializationInfo, StreamingContext)

Initializes a new instance of the CodeDomSerializerException class using the specified serialization data and context.

protected:
 CodeDomSerializerException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected CodeDomSerializerException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.ComponentModel.Design.Serialization.CodeDomSerializerException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.ComponentModel.Design.Serialization.CodeDomSerializerException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo

Stores the data that was being used to serialize or deserialize the object that the CodeDomSerializer was serializing or deserializing.

context
StreamingContext

Describes the source and destination of the stream that generated the exception, as well as a means for serialization to retain that context and an additional caller-defined context.

Applies to

CodeDomSerializerException(String, CodeLinePragma)

Source:
CodeDomSerializerException.cs
Source:
CodeDomSerializerException.cs
Source:
CodeDomSerializerException.cs

Initializes a new instance of the CodeDomSerializerException class using the specified message and line information.

public:
 CodeDomSerializerException(System::String ^ message, System::CodeDom::CodeLinePragma ^ linePragma);
public CodeDomSerializerException (string message, System.CodeDom.CodeLinePragma linePragma);
public CodeDomSerializerException (string? message, System.CodeDom.CodeLinePragma? linePragma);
new System.ComponentModel.Design.Serialization.CodeDomSerializerException : string * System.CodeDom.CodeLinePragma -> System.ComponentModel.Design.Serialization.CodeDomSerializerException
Public Sub New (message As String, linePragma As CodeLinePragma)

Parameters

message
String

A message describing the exception.

linePragma
CodeLinePragma

A CodeLinePragma that indicates where the exception occurred.

Applies to

CodeDomSerializerException(String, IDesignerSerializationManager)

Source:
CodeDomSerializerException.cs
Source:
CodeDomSerializerException.cs
Source:
CodeDomSerializerException.cs

Initializes a new instance of the CodeDomSerializerException class.

public:
 CodeDomSerializerException(System::String ^ message, System::ComponentModel::Design::Serialization::IDesignerSerializationManager ^ manager);
public CodeDomSerializerException (string message, System.ComponentModel.Design.Serialization.IDesignerSerializationManager manager);
public CodeDomSerializerException (string? message, System.ComponentModel.Design.Serialization.IDesignerSerializationManager manager);
new System.ComponentModel.Design.Serialization.CodeDomSerializerException : string * System.ComponentModel.Design.Serialization.IDesignerSerializationManager -> System.ComponentModel.Design.Serialization.CodeDomSerializerException
Public Sub New (message As String, manager As IDesignerSerializationManager)

Parameters

message
String

A message describing the exception.

manager
IDesignerSerializationManager

The IDesignerSerializationManager object from which to extract the context.

Exceptions

Manager is null.

Applies to