Compartilhar 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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

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