LoggerExtensionsLogSendAcknowledgedMessage Method
Logs a debug message about sending an acknowledged message.
Namespace: SmallEarthTech.AntPlus.Extensions.LoggingAssembly: SmallEarthTech.AntPlus (in SmallEarthTech.AntPlus.dll) Version: 6.0.1+2b48744145fe7ef0b0e6d89d46e9cc83d8627463
public static void LogSendAcknowledgedMessage(
this ILogger logger,
int channelIndex,
uint channelId,
byte[] dataPage,
MessagingReturnCode? result,
string methodName = ""
)
<ExtensionAttribute>
Public Shared Sub LogSendAcknowledgedMessage (
logger As ILogger,
channelIndex As Integer,
channelId As UInteger,
dataPage As Byte(),
result As MessagingReturnCode?,
Optional methodName As String = ""
)
public:
[ExtensionAttribute]
static void LogSendAcknowledgedMessage(
ILogger^ logger,
int channelIndex,
unsigned int channelId,
array<unsigned char>^ dataPage,
Nullable<MessagingReturnCode> result,
String^ methodName = L""
)
[<ExtensionAttribute>]
static member LogSendAcknowledgedMessage :
logger : ILogger *
channelIndex : int *
channelId : uint32 *
dataPage : byte[] *
result : Nullable<MessagingReturnCode> *
?methodName : string
(* Defaults:
let _methodName = defaultArg methodName ""
*)
-> unit
- logger ILogger
- The logger instance.
- channelIndex Int32
- The channel index.
- channelId UInt32
- The channel ID of the ANT device.
- dataPage Byte
- The data page as a byte array.
- result NullableMessagingReturnCode
- A MessagingReturnCode. Set to null if not available.
- methodName String (Optional)
- Optional: The caller member name.
In Visual Basic and C#, you can call this method as an instance method on any object of type
ILogger. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).