Package::IsLocalService Method (Type^)

Visual Studio 2015
 

Determines whether the specified service type can be retrieved without requiring an RPC transition to the UI thread.

Namespace:   Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

public:
bool IsLocalService(
	Type^ serviceType
)

Parameters

serviceType
Type: System::Type^

The service type.

Return Value

Type: System::Boolean

True if the service is local, otherwise false.

Return to top
Show: