Share via


BackgroundDispatcher.GetBackgroundDispatcher Method

Microsoft internal use only.

Gets or creates a dispatcher with the specified name.

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

Syntax

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

Parameters

  • 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

Reference

BackgroundDispatcher Class

Microsoft.Internal.VisualStudio.PlatformUI Namespace