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