BackgroundDispatcher.GetBackgroundDispatcher Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Microsoft internal use only.

Gets or creates a dispatcher with the specified name.

Namespace:  Microsoft.Internal.VisualStudio.PlatformUI
Assemblies:   Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)


Public Shared Function GetBackgroundDispatcher ( _
    dispatcherName As String, _
    stackSize As Integer _
) As Dispatcher
public static Dispatcher GetBackgroundDispatcher(
    string dispatcherName,
    int stackSize
static Dispatcher^ GetBackgroundDispatcher(
    String^ dispatcherName, 
    int stackSize
static member GetBackgroundDispatcher : 
        dispatcherName:string * 
        stackSize:int -> Dispatcher
public static function GetBackgroundDispatcher(
    dispatcherName : String, 
    stackSize : int
) : Dispatcher


  • dispatcherName
    Type: System.String

    The name of the thread/dispatcher (one is created per unique name).

  • stackSize
    Type: System.Int32

    Optional size of the stack to be used for new threads.

Return Value

Type: System.Windows.Threading.Dispatcher
The dispatcher associated with the name.

.NET Framework Security

See Also


BackgroundDispatcher Class

Microsoft.Internal.VisualStudio.PlatformUI Namespace