Udostępnij za pośrednictwem


JoinableTaskContextException Constructors

Definition

Overloads

JoinableTaskContextException()

Initializes a new instance of the JoinableTaskContextException class.

JoinableTaskContextException(String)

Initializes a new instance of the JoinableTaskContextException class.

JoinableTaskContextException(SerializationInfo, StreamingContext)

Initializes a new instance of the JoinableTaskContextException class.

JoinableTaskContextException(String, Exception)

Initializes a new instance of the JoinableTaskContextException class.

JoinableTaskContextException()

Initializes a new instance of the JoinableTaskContextException class.

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

Applies to

JoinableTaskContextException(String)

Initializes a new instance of the JoinableTaskContextException class.

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

Parameters

message
String

The message for the exception.

Applies to

JoinableTaskContextException(SerializationInfo, StreamingContext)

Initializes a new instance of the JoinableTaskContextException class.

protected:
 JoinableTaskContextException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected JoinableTaskContextException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.VisualStudio.Threading.JoinableTaskContextException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.VisualStudio.Threading.JoinableTaskContextException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

Applies to

JoinableTaskContextException(String, Exception)

Initializes a new instance of the JoinableTaskContextException class.

public:
 JoinableTaskContextException(System::String ^ message, Exception ^ inner);
public JoinableTaskContextException (string message, Exception inner);
public JoinableTaskContextException (string? message, Exception? inner);
new Microsoft.VisualStudio.Threading.JoinableTaskContextException : string * Exception -> Microsoft.VisualStudio.Threading.JoinableTaskContextException
Public Sub New (message As String, inner As Exception)

Parameters

message
String

The message for the exception.

inner
Exception

The inner exception.

Applies to