Initializes a new instance of the TaskSchedulingException class with serialized data.
命名空间: Microsoft.VisualStudio.Shell
程序集: Microsoft.VisualStudio.Shell.Immutable.11.0(在 Microsoft.VisualStudio.Shell.Immutable.11.0.dll 中)
语法
声明
Protected Sub New ( _
info As SerializationInfo, _
context As StreamingContext _
)
protected TaskSchedulingException(
SerializationInfo info,
StreamingContext context
)
参数
- info
类型:System.Runtime.Serialization.SerializationInfo
The SerializationInfo that holds the serialized object data about the exception being thrown.
- context
类型:System.Runtime.Serialization.StreamingContext
The StreamingContext that contains contextual information about the source or destination.
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。