Share via


SPExceptionEventArgs Constructor

Initializes a new instance of the [Microsoft.SharePoint.SPExceptionEventArgs] class.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Sub New ( _
    exception As Exception _
)
'Usage
Dim exception As Exception

Dim instance As New SPExceptionEventArgs(exception)
public SPExceptionEventArgs(
    Exception exception
)

Parameters

  • exception
    Type: System.Exception

    The [System.Exception] thrown by the event publisher.

See Also

Reference

SPExceptionEventArgs Class

SPExceptionEventArgs Members

Microsoft.SharePoint Namespace