Share via


SPDistributionGroupException constructor (String, Exception)

Initializes a new instance of the SPDistributionGroupException class based on the specified error message and exception object.

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

Syntax

'Declaration
Public Sub New ( _
    message As String, _
    innerException As Exception _
)
'Usage
Dim message As String
Dim innerException As Exception

Dim instance As New SPDistributionGroupException(message, _
    innerException)
public SPDistributionGroupException(
    string message,
    Exception innerException
)

Parameters

  • message
    Type: System.String

    The message that describes the error.

  • innerException
    Type: System.Exception

    The inner exception that caused this exception.

See also

Reference

SPDistributionGroupException class

SPDistributionGroupException members

SPDistributionGroupException overload

Microsoft.SharePoint namespace