ChromiumFX/Generated/Remote/CfrRuntime.cs
/// <summary>
/// Returns true (1) if called on the specified thread. Equivalent to using
/// CfrTaskRunner.GetForThread(threadId).BelongsToCurrentThread().
/// </summary>
/// <remarks>
/// See also the original CEF documentation in
/// <see href="https://bitbucket.org/chromiumfx/chromiumfx/src/tip/cef/include/capi/cef_task_capi.h">cef/include/capi/cef_task_capi.h</see>.
/// </remarks>
Returns true (1) if called on the specified thread.
Returns true ( 1 ) if called on the specified thread .
public static bool CurrentlyOn(CfxThreadId threadId) {
            var connection = CfxRemoteCallContext.CurrentContext.connection;
            var call = new CfxRuntimeCurrentlyOnRemoteCall();
            call.threadId = (int)threadId;
            call.RequestExecution(connection);
            return call.__retval;
        }
public static bool CurrentlyOn ( CfxThreadId threadId ) { var connection = CfxRemoteCallContext . CurrentContext . connection ; var call = new CfxRuntimeCurrentlyOnRemoteCall ( ) ; call . threadId = ( int ) threadId ; call . RequestExecution ( connection ) ; return call . __retval ; }
Returns true (1) if called on the specified thread.
Returns true ( 1 ) if called on the specified thread .
threadId
CfxThreadId
remarks
See also the original CEF documentation in
cef/include/capi/cef_task_capi.h
See also the original CEF documentation in cef / include / capi / cef_task_capi . h