Click or drag to resize

ReadMessageEventArgs Class

Provides data for the ReadMessage event.
Inheritance Hierarchy
SystemObject
  SystemEventArgs
    ZylSoft.GsmReadMessageEventArgs

Namespace: ZylSoft.Gsm
Assembly: ZylGsm (in ZylGsm.dll) Version: 1.2.0.21451
XMLNS for XAML: Not mapped to an xmlns.
Syntax
public class ReadMessageEventArgs : EventArgs

The ReadMessageEventArgs type exposes the following members.

Constructors
 NameDescription
Public methodReadMessageEventArgs Constructor.
Top
Properties
 NameDescription
Public propertyCenterNumber Number of the SMS center.
Public propertyIndex Index number of the messages inside the storage location.
Public propertyMessageText Text of the message.
Public propertyPhoneNumber Number of the sender.
Public propertyStatus Status can have the following values: -1 = Unknown status 0 = Received unread message (that is new message). 1 = Received read message. 2 = Stored unsent message. 3 = Stored sent message. 16 = Template message.
Public propertyTimeStamp Date-time, when the message was received.
Public propertyTimeZone The current time zone relation to GMT, one unit is 15min.
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Remarks
The event occurs when when an SMS is requested by GetSms method or when new SMS is received.
See Also