ClientUtility.CreateArgumentException method
Creates an ArgumentException 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 CreateArgumentException ( _
argumentName As String _
) As Exception
'Usage
Dim argumentName As String
Dim returnValue As Exception
returnValue = ClientUtility.CreateArgumentException(argumentName)
public static Exception CreateArgumentException(
string argumentName
)
Parameters
argumentName
Type: System.StringThe 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 is invalid.