ClearScript Library
ClearScript Library
ClearScript Library Reference
Microsoft.ClearScript.Windows.Core
NullSyncInvoker Class
NullSyncInvoker Methods
NullSyncInvoker Fields

# NullSyncInvoker Class

Provides a null ISyncInvoker implementation.
Inheritance Hierarchy
SystemObject
Microsoft.ClearScript.Windows.CoreNullSyncInvoker
Namespace: Microsoft.ClearScript.Windows.Core
Assembly: ClearScript.Windows.Core (in ClearScript.Windows.Core.dll) Version: 7.5.0
Syntax
C#
VB
C++
F#
Copy

    public class NullSyncInvoker : ISyncInvoker

    Public Class NullSyncInvoker
    	Implements ISyncInvoker

    public ref class NullSyncInvoker : ISyncInvoker

    type NullSyncInvoker =
        class
            interface ISyncInvoker
        end

The NullSyncInvoker type exposes the following members.

Methods

| Name | Description
--- | --- | ---
| CheckAccess | Determines whether the calling thread has access to the script engine.
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object)
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object)
| GetHashCode | Serves as the default hash function. (Inherited from Object)
| GetType | Gets the Type of the current instance. (Inherited from Object)
| Invoke(Action) | Invokes a delegate that returns no value on the script engine's thread.
| InvokeT(FuncT) | Invokes a delegate that returns a value on the script engine's thread.
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object)
| ToString | Returns a string that represents the current object. (Inherited from Object)
| VerifyAccess | Enforces that the calling thread has access to the script engine.

Top
Fields

| Name | Description
--- | --- | ---
| Instance | The sole instance of the NullSyncInvoker class.

Top
Remarks
This class does not enforce thread affinity and should be used with caution. Windows Script engines can behave unpredictably when thread affinity is violated.
See Also

#### Reference

Microsoft.ClearScript.Windows.Core Namespace

Copyright © Microsoft Corporation. All rights reserved.

Send comments on this topic to Microsoft