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
Assemblies: Microsoft.SharePoint.Client.Silverlight.Runtime (in Microsoft.SharePoint.Client.Silverlight.Runtime.dll); 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 Exception.
Remarks
The error message indicates that the specified argument is invalid.