SPException Constructor (COMException)
Reserved for internal use. Initializes a new instance of the SPException class.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public Sub New ( _
comEx As COMException _
)
'Usage
Dim comEx As COMException
Dim instance As New SPException(comEx)
public SPException(
COMException comEx
)
Parameters
comEx
Type: System.Runtime.InteropServices.COMExceptionAn object that represents the COM exception.