/// <summary> /// Releases a reference to a script context /// </summary> /// <remarks> /// Removes a reference to a context that was created by AddRef. /// </remarks> /// <returns>The object's new reference count</returns> public uint Release() { uint count; IeJsErrorHelpers.ThrowIfError(IeNativeMethods.JsContextRelease(this, out count)); return(count); }