Click or drag to resize

BasicThread Class

A .NET object for managing a BasicNoUIObj object in a separate thread.
Inheritance Hierarchy
SystemObject
  System.ThreadingSynchronizationContext
    WinWrap.Basic.ServerBasicThread

Namespace: WinWrap.Basic.Server
Assembly: WinWrap.Basic.Server (in WinWrap.Basic.Server.dll)
Syntax
public class BasicThread : SynchronizationContext, 
	IDisposable

Field Value

A thread containing a BasicNoUIObj and a SynchronizationContext.

The BasicThread type exposes the following members.

Constructors
 NameDescription
Public methodBasicThread Initializes a new instance of the BasicThread class.
Top
Methods
 NameDescription
Public methodCreateCopy Create a copy of the SynchronizationContext.
(Overrides SynchronizationContextCreateCopy)
Public methodDispose Releases the resources used by the BasicThread.
Protected methodDispose(Boolean) Releases the unmanaged resources and optionally releases the managed resources.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(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 methodIsWaitNotificationRequiredDetermines if wait notification is required.
(Inherited from SynchronizationContext)
Public methodKill Kills the BasicThread object.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodOperationCompletedWhen overridden in a derived class, responds to the notification that an operation has completed.
(Inherited from SynchronizationContext)
Public methodOperationStartedWhen overridden in a derived class, responds to the notification that an operation has started.
(Inherited from SynchronizationContext)
Public methodPost Dispatches an asynchronous message to a synchronization context.
(Overrides SynchronizationContextPost(SendOrPostCallback, Object))
Public methodPostAction Dispatches an asynchronous action to a BasicThread's context.
Public methodSend Dispatches a synchronous message to a synchronization context.
(Overrides SynchronizationContextSend(SendOrPostCallback, Object))
Public methodSendAction Dispatches a synchronous action to a BasicThread's context.
Protected methodSetWaitNotificationRequiredSets notification that wait notification is required and prepares the callback method so it can be called more reliably when a wait occurs.
(Inherited from SynchronizationContext)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodWaitWaits for any or all the elements in the specified array to receive a signal.
(Inherited from SynchronizationContext)
Top
Remarks
The BasicThread object allows your application to easily manage a BasicNoUIObj object in a separate thread.
See Also