LogHelper.LogArgumentNullException(String) Method
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
- argument
- String
argument that is null or empty.
EventLevel is set to Error.