GpsReceiverHelperGetGpsReceiverService Method (IServiceProvider, String) |
Namespace:
AGI.Foundation.Navigation
Assembly:
AGI.Foundation.Navigation (in AGI.Foundation.Navigation.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public static IGpsReceiverService GetGpsReceiverService(
IServiceProvider provider,
string exceptionMessage
)
Public Shared Function GetGpsReceiverService (
provider As IServiceProvider,
exceptionMessage As String
) As IGpsReceiverService
public:
static IGpsReceiverService^ GetGpsReceiverService(
IServiceProvider^ provider,
String^ exceptionMessage
)
static member GetGpsReceiverService :
provider : IServiceProvider *
exceptionMessage : string -> IGpsReceiverService
Parameters
- provider
- Type: SystemIServiceProvider
The object from which to obtain the service. - exceptionMessage
- Type: SystemString
An error message to include in the exception if the service is unavailable.
Return Value
Type:
IGpsReceiverServiceThe service provided by the object.
Exceptions See Also