Click or drag to resize

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.2.3
Syntax
public class NullSyncInvoker : ISyncInvoker

The NullSyncInvoker type exposes the following members.

Methods
  NameDescription
Public methodCheckAccess
Determines whether the calling thread has access to the script engine.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInvoke(Action)
Invokes a delegate that returns no value on the script engine's thread.
Public methodInvokeT(FuncT)
Invokes a delegate that returns a value on the script engine's thread.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodVerifyAccess
Enforces that the calling thread has access to the script engine.
Top
Fields
  NameDescription
Public fieldStatic memberInstance
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