AisManager Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
AisManager(String, UInt32, String) |
Creates an instance of an AisManager |
AisManager(String, Boolean, UInt32, String) |
Creates an instance of an AisManager |
AisManager(String, UInt32, String)
Creates an instance of an AisManager
public AisManager (string interfaceName, uint ownMmsi, string ownShipName);
new Iot.Device.Nmea0183.AisManager : string * uint32 * string -> Iot.Device.Nmea0183.AisManager
Public Sub New (interfaceName As String, ownMmsi As UInteger, ownShipName As String)
Parameters
- interfaceName
- String
Name of the manager, used for message routing
- ownMmsi
- UInt32
The MMSI of the own ship
- ownShipName
- String
The name of the own ship
Applies to
AisManager(String, Boolean, UInt32, String)
Creates an instance of an AisManager
public AisManager (string interfaceName, bool throwOnUnknownMessage, uint ownMmsi, string ownShipName);
new Iot.Device.Nmea0183.AisManager : string * bool * uint32 * string -> Iot.Device.Nmea0183.AisManager
Public Sub New (interfaceName As String, throwOnUnknownMessage As Boolean, ownMmsi As UInteger, ownShipName As String)
Parameters
- interfaceName
- String
Name of the manager, used for message routing
- throwOnUnknownMessage
- Boolean
True if an exception should be thrown when parsing an unknown message type. This parameter is mainly intended for test scenarios where a data stream should be scanned for rare messages
- ownMmsi
- UInt32
The MMSI of the own ship
- ownShipName
- String
The name of the own ship
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for