LogHelper.LogArgumentNullException(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.