AdminException Constructor (String, Exception, String )

Creates an exception for the specified error code.

Namespace:  Microsoft.SharePoint.Search.Extended.Administration.Common
Assembly:  Microsoft.SharePoint.Search.Extended.Administration.Common (in Microsoft.SharePoint.Search.Extended.Administration.Common.dll)

Syntax

'Declaration
Public Sub New ( _
    errorCode As String, _
    inner As Exception, _
    ParamArray values As String() _
)
'Usage
Dim errorCode As String
Dim inner As Exception
Dim values As String()

Dim instance As New AdminException(errorCode, _
    inner, values)
public AdminException(
    string errorCode,
    Exception inner,
    params string[] values
)

Parameters

  • values
    Type: []

    Optional array of strings that is used to create the error message.

Exceptions

Exception Condition
ArgumentException

If the error code does not exist or the number of provided values is wrong.

See Also

Reference

AdminException Class

AdminException Members

AdminException Overload

Microsoft.SharePoint.Search.Extended.Administration.Common Namespace