Was this page helpful?

ImmediateDispatchQueue Class

    Table of contents
    1. 1. Members
      1. 1.1. Fields
      2. 1.2. Methods
    Table of Contents
    public class ImmediateDispatchQueue
    Namespace: MindTouch.Threading
    Assembly: mindtouch.dream
    Type Hierarchy:
    • object
      • ImmediateDispatchQueue
    Implements:
    Provides an implementation of MindTouch.Threading.IDispatchQueue that immediately invokes the work item rather than queueing t for execution.

    Members

    Fields

    Visibility Description
    Public Instance Singleton instnace of the MindTouch.Threading.ImmediateDispatchQueue.

    Methods

    Visibility Description
    Public QueueWorkItem(Action callback) Adds a work-item to the thread pool. Depending on the implementation, this method may block the invoker or throw an exception if the thread pool cannot accept more items.
    Public TryQueueWorkItem(Action callback) In the context of this implementation, ImmediateDispatchQueue.TryQueueWorkItem(Action callback) behaves identically to ImmediateDispatchQueue.QueueWorkItem(Action callback) and will always return True.
    Public ToString() (Override) Convert the dispatch queue into a string.
    Public Equals(object obj) (Inherited from Object)
    Public GetHashCode() (Inherited from Object)
    Public GetType() (Inherited from Object)
    Protected MemberwiseClone() (Inherited from Object)
    Was this page helpful?
    Tag page
    You must login to post a comment.

    Copyright © 2011 MindTouch, Inc. Powered by