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
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 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.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 cannot be null.