RuntimeHelpers.TryCode Delegate
.NET Framework (current version)
Represents a delegate to code that should be run in a try block..
Assembly: mscorlib (in mscorlib.dll)
Parameters
- userData
-
Type:
System.Object
Data to pass to the delegate.
Use the RuntimeHelpers.TryCode delegate with the ExecuteCodeWithGuaranteedCleanup method.
.NET Framework
Available since 2.0
Available since 2.0
Show: