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.StringThe name of the thread/dispatcher (one is created per unique name).
stackSize
Type: System.Int32Optional 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.