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.4.5
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 methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets 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 methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns 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