Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

RuntimeHelpers Members

Provides a set of static methods and properties that provide support for compilers. This class cannot be inherited.

The RuntimeHelpers type exposes the following members.

  NameDescription
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework Equals Overloaded. Determines whether the specified Object instances are considered equal.
Public method Static member ExecuteCodeWithGuaranteedCleanup Executes code using a Delegate while using another Delegate to execute additional code in case of an exception.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework GetHashCode Overloaded. Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures such as a hash table.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework GetObjectValue Boxes a value type.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework InitializeArray Provides a fast way to initialize an array from data stored in a module.
Public method Static member PrepareConstrainedRegions Designates a body of code as a constrained execution region (CER).
Public method Static member PrepareConstrainedRegionsNoOP Designates a body of code as a constrained execution region (CER) without performing any probing.
Public method Static member PrepareDelegate Indicates that the specified delegate be prepared for inclusion in a constrained execution region (CER).
Public method Static member PrepareMethod Overloaded. Prepares a method for inclusion in a constrained execution region (CER).
Public method Static member ProbeForSufficientStack Probes for a certain amount of stack space to ensure that a stack overflow cannot happen within a subsequent block of code (assuming that your code uses only a finite and moderate amount of stack space). We recommend that you use a constrained execution region (CER) instead of this method.
Public method Static member RunClassConstructor Runs a specified class constructor method.
Public method Static member RunModuleConstructor Runs a specified module constructor method.
Top

  NameDescription
Public property Static member Supported by the .NET Compact Framework Supported by the XNA Framework OffsetToStringData Gets the offset in bytes to the data in the given string.
Top

Community Additions

Show:
© 2014 Microsoft