JsCreateRuntime() приватный Метод

private JsCreateRuntime ( JsRuntimeAttributes attributes, JsRuntimeVersion runtimeVersion, JsThreadServiceCallback threadService, IeJsRuntime &runtime ) : JsErrorCode
attributes JsRuntimeAttributes
runtimeVersion JsRuntimeVersion
threadService JsThreadServiceCallback
runtime IeJsRuntime
Результат JsErrorCode
        /// <summary>
        /// Creates a new runtime
        /// </summary>
        /// <param name="attributes">The attributes of the runtime to be created</param>
        /// <param name="version">The version of the runtime to be created</param>
        /// <param name="threadServiceCallback">The thread service for the runtime. Can be null.</param>
        /// <returns>The runtime created</returns>
        public static IeJsRuntime Create(JsRuntimeAttributes attributes, JsRuntimeVersion version, JsThreadServiceCallback threadServiceCallback)
        {
            IeJsRuntime handle;

            IeJsErrorHelpers.ThrowIfError(IeNativeMethods.JsCreateRuntime(attributes, version, threadServiceCallback, out handle));

            return(handle);
        }