Determine whether the specified service is available in the context.
| C# | Visual Basic | Visual C++ |
public static bool IsRegistered( IComponentContext context, Service service )
Public Shared Function IsRegistered ( _ context As IComponentContext, _ service As Service _ ) As Boolean
public: static bool IsRegistered( IComponentContext^ context, Service^ service )
- context (IComponentContext)
- The context from which to resolve the service.
- service (Service)
- The service to test for the registration of.
True if the service is registered.