ThrowHelper.ThrowLockRecursionException 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.
Overloads
ThrowLockRecursionException() |
Throws a new LockRecursionException. |
ThrowLockRecursionException(String) |
Throws a new LockRecursionException. |
ThrowLockRecursionException(String, Exception) |
Throws a new LockRecursionException. |
ThrowLockRecursionException<T>(String) |
Throws a new LockRecursionException. |
ThrowLockRecursionException<T>() |
Throws a new LockRecursionException. |
ThrowLockRecursionException<T>(String, Exception) |
Throws a new LockRecursionException. |
ThrowLockRecursionException()
Throws a new LockRecursionException.
public static void ThrowLockRecursionException ();
static member ThrowLockRecursionException : unit -> unit
Public Shared Sub ThrowLockRecursionException ()
Exceptions
Thrown with no parameters.
Applies to
ThrowLockRecursionException(String)
Throws a new LockRecursionException.
public static void ThrowLockRecursionException (string? message);
static member ThrowLockRecursionException : string -> unit
Public Shared Sub ThrowLockRecursionException (message As String)
Parameters
- message
- String
The message to include in the exception.
Exceptions
Thrown with the specified parameter.
Applies to
ThrowLockRecursionException(String, Exception)
Throws a new LockRecursionException.
public static void ThrowLockRecursionException (string? message, Exception? innerException);
static member ThrowLockRecursionException : string * Exception -> unit
Public Shared Sub ThrowLockRecursionException (message As String, innerException As Exception)
Parameters
- message
- String
The message to include in the exception.
Exceptions
Thrown with the specified parameter.
Applies to
ThrowLockRecursionException<T>(String)
Throws a new LockRecursionException.
public static T ThrowLockRecursionException<T> (string? message);
static member ThrowLockRecursionException : string -> 'T
Public Shared Function ThrowLockRecursionException(Of T) (message As String) As T
Type Parameters
- T
The type of expected result.
Parameters
- message
- String
The message to include in the exception.
Returns
This method always throws, so it actually never returns a value.
Exceptions
Thrown with the specified parameter.
Applies to
ThrowLockRecursionException<T>()
Throws a new LockRecursionException.
public static T ThrowLockRecursionException<T> ();
static member ThrowLockRecursionException : unit -> 'T
Public Shared Function ThrowLockRecursionException(Of T) () As T
Type Parameters
- T
The type of expected result.
Returns
This method always throws, so it actually never returns a value.
Exceptions
Thrown with no parameters.
Applies to
ThrowLockRecursionException<T>(String, Exception)
Throws a new LockRecursionException.
public static T ThrowLockRecursionException<T> (string? message, Exception? innerException);
static member ThrowLockRecursionException : string * Exception -> 'T
Public Shared Function ThrowLockRecursionException(Of T) (message As String, innerException As Exception) As T
Type Parameters
- T
The type of expected result.
Parameters
- message
- String
The message to include in the exception.
Returns
This method always throws, so it actually never returns a value.
Exceptions
Thrown with the specified parameter.