CodeDomSerializerException CodeDomSerializerException CodeDomSerializerException CodeDomSerializerException Constructors

Definition

Overloads

CodeDomSerializerException(Exception, CodeLinePragma) CodeDomSerializerException(Exception, CodeLinePragma) CodeDomSerializerException(Exception, CodeLinePragma) CodeDomSerializerException(Exception, CodeLinePragma)

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

CodeDomSerializerException(Exception, IDesignerSerializationManager) CodeDomSerializerException(Exception, IDesignerSerializationManager) CodeDomSerializerException(Exception, IDesignerSerializationManager) CodeDomSerializerException(Exception, IDesignerSerializationManager)

Initializes a new instance of the CodeDomSerializerException class.

CodeDomSerializerException(SerializationInfo, StreamingContext) CodeDomSerializerException(SerializationInfo, StreamingContext) CodeDomSerializerException(SerializationInfo, StreamingContext) CodeDomSerializerException(SerializationInfo, StreamingContext)

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

CodeDomSerializerException(String, CodeLinePragma) CodeDomSerializerException(String, CodeLinePragma) CodeDomSerializerException(String, CodeLinePragma) CodeDomSerializerException(String, CodeLinePragma)

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

CodeDomSerializerException(String, IDesignerSerializationManager) CodeDomSerializerException(String, IDesignerSerializationManager) CodeDomSerializerException(String, IDesignerSerializationManager) CodeDomSerializerException(String, IDesignerSerializationManager)

Initializes a new instance of the CodeDomSerializerException class.

CodeDomSerializerException(Exception, CodeLinePragma) CodeDomSerializerException(Exception, CodeLinePragma) CodeDomSerializerException(Exception, CodeLinePragma) CodeDomSerializerException(Exception, CodeLinePragma)

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

The exception to throw.

linePragma
CodeLinePragma CodeLinePragma CodeLinePragma CodeLinePragma

A CodeLinePragma that indicates where the exception occurred.

CodeDomSerializerException(Exception, IDesignerSerializationManager) CodeDomSerializerException(Exception, IDesignerSerializationManager) CodeDomSerializerException(Exception, IDesignerSerializationManager) CodeDomSerializerException(Exception, IDesignerSerializationManager)

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

The exception to throw.

Exceptions

CodeDomSerializerException(SerializationInfo, StreamingContext) CodeDomSerializerException(SerializationInfo, StreamingContext) CodeDomSerializerException(SerializationInfo, StreamingContext) 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 SerializationInfo SerializationInfo SerializationInfo

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

context
StreamingContext StreamingContext StreamingContext 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.

CodeDomSerializerException(String, CodeLinePragma) CodeDomSerializerException(String, CodeLinePragma) CodeDomSerializerException(String, CodeLinePragma) CodeDomSerializerException(String, CodeLinePragma)

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

A message describing the exception.

linePragma
CodeLinePragma CodeLinePragma CodeLinePragma CodeLinePragma

A CodeLinePragma that indicates where the exception occurred.

CodeDomSerializerException(String, IDesignerSerializationManager) CodeDomSerializerException(String, IDesignerSerializationManager) CodeDomSerializerException(String, IDesignerSerializationManager) CodeDomSerializerException(String, IDesignerSerializationManager)

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

A message describing the exception.

Exceptions

Applies to