共用方式為


CircularTaskDependencyException Constructors

Definition

Overloads

CircularTaskDependencyException()

Initializes a new instance of the CircularTaskDependencyException class.

CircularTaskDependencyException(String)

Initializes a new instance of the CircularTaskDependencyException class.

CircularTaskDependencyException(SerializationInfo, StreamingContext)
Obsolete.

Initializes a new instance of the CircularTaskDependencyException class.

CircularTaskDependencyException()

Initializes a new instance of the CircularTaskDependencyException class.

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

Applies to

CircularTaskDependencyException(String)

Initializes a new instance of the CircularTaskDependencyException class.

public:
 CircularTaskDependencyException(System::String ^ message);
public:
 CircularTaskDependencyException(Platform::String ^ message);
 CircularTaskDependencyException(std::wstring const & message);
public CircularTaskDependencyException (string message);
new Microsoft.VisualStudio.Shell.CircularTaskDependencyException : string -> Microsoft.VisualStudio.Shell.CircularTaskDependencyException
Public Sub New (message As String)

Parameters

message
String

The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture.

Applies to

CircularTaskDependencyException(SerializationInfo, StreamingContext)

Caution

This API is now deprecated.

Initializes a new instance of the CircularTaskDependencyException class.

protected:
 CircularTaskDependencyException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected CircularTaskDependencyException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
[System.Obsolete]
protected CircularTaskDependencyException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.VisualStudio.Shell.CircularTaskDependencyException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.VisualStudio.Shell.CircularTaskDependencyException
[<System.Obsolete>]
new Microsoft.VisualStudio.Shell.CircularTaskDependencyException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.VisualStudio.Shell.CircularTaskDependencyException
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