TaskSchedulerException Constructor (SerializationInfo, StreamingContext)
From Task Parallel System.Threading
|
|
| .NET Framework Class Library |
| TaskSchedulerException Constructor (SerializationInfo, StreamingContext) |
| TaskSchedulerException Class See Also Send Feedback |
Initializes a new instance of the TaskSchedulerException
class with serialized data.
Namespace:
System.Threading.Tasks
Assembly:
System.Threading (in System.Threading.dll)
Syntax
| Visual Basic (Declaration) |
|---|
Protected Sub New ( _ info As SerializationInfo, _ context As StreamingContext _ ) |
| C# |
|---|
protected TaskSchedulerException( SerializationInfo info, StreamingContext context ) |
Parameters
- info
- Type: System.Runtime.Serialization..::.SerializationInfo
The SerializationInfo that holds the serialized object data about the exception being thrown.
- context
- Type: System.Runtime.Serialization..::.StreamingContext
The StreamingContext that contains contextual information about the source or destination.