Class WarningMessage
- Namespace
- NLightning.Domain.Protocol.Messages
- Assembly
- NLightning.Domain.dll
Represents a warning message.
public sealed class WarningMessage : BaseMessage, IMessage
- Inheritance
-
WarningMessage
- Implements
- Inherited Members
Remarks
A warning message is used to communicate a warning to the other party. The message type is 1.
Constructors
WarningMessage(ErrorPayload)
Represents a warning message.
public WarningMessage(ErrorPayload payload)
Parameters
payload
ErrorPayloadThe warning payload. ErrorPayload
Remarks
A warning message is used to communicate a warning to the other party. The message type is 1.
Properties
Payload
The payload of the message.
public ErrorPayload Payload { get; }