ReceiverExtensionsLogTerminatingJunkMessage Method

Logs when a junk message is received and the connection is terminated.

Definition

Namespace: MobileTrack.Receiver.Extensions
Assembly: MobileTrack.Receiver (in MobileTrack.Receiver.exe) Version: 0.7+1dadc87dcf0a0f837e19a3ce2deb7c1cd85375d1
[LoggerMessageAttribute(1607, LogLevel.Warning, "Terminating connection due to invalid or junk message. Raw message: {RawMessage}")]
public static void LogTerminatingJunkMessage(
	this ILogger logger,
	string rawMessage
)

Parameters

logger  ILogger
Logger
rawMessage  String
The raw message

Usage Note

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).

See Also