Partilhar via


Package.IsLocalService(Type) Method

Definition

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

public:
 bool IsLocalService(Type ^ serviceType);
public:
 bool IsLocalService(Platform::Type ^ serviceType);
public bool IsLocalService (Type serviceType);
member this.IsLocalService : Type -> bool
Public Function IsLocalService (serviceType As Type) As Boolean

Parameters

serviceType
Type

The service type.

Returns

True if the service is local, otherwise false.

Applies to