Share via


SPExceptionEventArgs constructor

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

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

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