Table of Contents

Class NewMessageEventArgs

Namespace
Skyline.DataMiner.Net
Assembly
SLNetTypes.dll

Event arguments for use with NewMessageEventHandler.

public class NewMessageEventArgs : EventArgs
Inheritance
NewMessageEventArgs
Extension Methods

Remarks

Constructors

NewMessageEventArgs(DMSMessage)

Initializes a new instance of the NewMessageEventArgs class.

Properties

ByteSize

Gets the number of bytes of the incoming package.

IsForAllSets

Gets a value indicating whether the event needs to go to any subscription set.

Message

Gets the message associated with this event.

SetIDs

Gets a collection of set IDs. To find out if this event applies to a certain set, use the FromSet(string) and FromDefaultSet() instead.

Methods

FromDefaultSet()

Returns a value indicating whether this message was sent because of a subscription in the default set.

FromSet(string)

Returns a value indicating whether the message was sent to the client because of a subscription in the set with the given ID.

ToString()

Converts to string.