LogHelper.LogArgumentNullException(String) Method

Definition

Logs an exception using the event source logger and returns new ArgumentNullException exception.

public static ArgumentNullException LogArgumentNullException (string argument);
static member LogArgumentNullException : string -> ArgumentNullException
Public Shared Function LogArgumentNullException (argument As String) As ArgumentNullException

Parameters

argument
String

argument that is null or empty.

Returns

Remarks

EventLevel is set to Error.

Applies to