SPCmdletException 构造函数 (SerializationInfo, StreamingContext)

创建SPCmdletException类的一个新实例。

命名空间:  Microsoft.SharePoint.PowerShell
程序集:  Microsoft.SharePoint.PowerShell(位于 Microsoft.SharePoint.PowerShell.dll 中)

语法

声明
Protected Sub New ( _
    info As SerializationInfo, _
    context As StreamingContext _
)
用法
Dim info As SerializationInfo
Dim context As StreamingContext

Dim instance As New SPCmdletException(info, context)
protected SPCmdletException(
    SerializationInfo info,
    StreamingContext context
)

参数

另请参阅

引用

SPCmdletException 类

SPCmdletException 成员

SPCmdletException 重载

Microsoft.SharePoint.PowerShell 命名空间