ClientUtility.CreateArgumentNullException method

Creates an ArgumentNullException object with the specified invalid argument name. This member is reserved for internal use and is not intended to be used directly from your code.

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

Syntax

'Declaration
Public Shared Function CreateArgumentNullException ( _
    argumentName As String _
) As Exception
'Usage
Dim argumentName As String
Dim returnValue As Exception

returnValue = ClientUtility.CreateArgumentNullException(argumentName)
public static Exception CreateArgumentNullException(
    string argumentName
)

Parameters

  • argumentName
    Type: System.String

    The name of the parameter that causes the exception.

Return value

Type: System.Exception
Returns an error message.

Remarks

The error message indicates that the specified argument cannot be null.

See also

Reference

ClientUtility class

ClientUtility members

Microsoft.SharePoint.Client namespace