Class JoinableTaskContextException
- Namespace
- Microsoft.VisualStudio.Threading
- Assembly
- Microsoft.VisualStudio.Threading.dll
An exception thrown when the configuration provided to the JoinableTaskContext are incorrect or a virtual method is overridden such that it violates a contract. This exception should not be caught. It is thrown when the application has a programming fault.
[Serializable]
public class JoinableTaskContextException : Exception, ISerializable
- Inheritance
-
JoinableTaskContextException
- Implements
- Inherited Members
Constructors
JoinableTaskContextException()
Initializes a new instance of the JoinableTaskContextException class.
public JoinableTaskContextException()
JoinableTaskContextException(SerializationInfo, StreamingContext)
Initializes a new instance of the JoinableTaskContextException class.
protected JoinableTaskContextException(SerializationInfo info, StreamingContext context)
Parameters
info
SerializationInfocontext
StreamingContext
JoinableTaskContextException(string?)
Initializes a new instance of the JoinableTaskContextException class.
public JoinableTaskContextException(string? message)
Parameters
message
stringThe message for the exception.
JoinableTaskContextException(string?, Exception?)
Initializes a new instance of the JoinableTaskContextException class.
public JoinableTaskContextException(string? message, Exception? inner)