Show / Hide Table of Contents

Class GCHandleExtensions

A class which provides an extension method to free a System.Runtime.InteropServices.GCHandle which checks to make sure the handle being free'ed is not

Inheritance
System.Object
GCHandleExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: OpenZiti
Assembly: Ziti.NET.Standard.dll
Syntax
public static class GCHandleExtensions

Methods

| Improve this Doc View Source

SafeFreeGCHandle(GCHandle)

An extension method which checks to make sure the handle is not before Free'ing

Declaration
public static void SafeFreeGCHandle(this GCHandle handle)
Parameters
Type Name Description
System.Runtime.InteropServices.GCHandle handle
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX