mCore™ .NET SMS Library 1.2

mCore.SMS.NewMessageReceivedEventHandler Delegate

Description:

Represents the method that will handle the NewMessageReceived event of a mCore.SMS object.

Namespace: mCore
Assembly: mCoreLib (in mCoreLib.dll)

Exceptions:

mCore.GeneralException

Syntax:

Visual Basic (Declaration)

Public Delegate Sub NewMessageReceivedEventHandler ( _
         sender As Object, e As NewMessageReceivedEventArgs)

 
Visual Basic (Usage)

Dim instance As New NewMessageReceivedEventHandler(AddressOf HandlerMethod)

 
C#

public delegate void NewMessageReceivedEventHandler (
         Object sender, NewMessageReceivedEventArgs e)

Parameters:

sender
The sender of the event which is the mCore.SMS object

e
A NewMessageReceivedEventArgs object that contains the event data.

Remarks:

When you create a NewMessageReceivedEventHandler delegate, you identify the method that will handle the event. To associate the event with your event handler, add an instance of the delegate to the event. The event handler is called whenever the event occurs, unless you remove the delegate.

See Also:

mCore.SMS.NewMessageReceived Event
mCore.NewMessageReceivedEventArgs Class

 

Copyright © IG Logix Softech Pvt Ltd, All Rights Reserved