Class SendTextMessageAsyncResult
An asynchronous result object returning the result of an attempt to send an SMS
Implements
System.IAsyncResult
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Eclo.nF.SIM800H
Assembly: cs.temp.dll.dll
Syntax
public class SendTextMessageAsyncResult : DeviceAsyncResult, IAsyncResult
Constructors
SendTextMessageAsyncResult(String, String, AsyncCallback, Object)
Declaration
public SendTextMessageAsyncResult(string destinationNumber, string message, AsyncCallback asyncCallback = null, object asyncState = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | destinationNumber | |
System.String | message | |
System.AsyncCallback | asyncCallback | |
System.Object | asyncState |
Fields
Reference
Reference of the sent SMS
Declaration
public int Reference
Field Value
Type | Description |
---|---|
System.Int32 |
Methods
End()
Finishes the asynchronous processing and throws an exception if one was generated
Declaration
public int End()
Returns
Type | Description |
---|---|
System.Int32 | Returns the sent SMS index |
Process()
The method used to perform the asynchronous processing
Declaration
public override void Process()
Overrides
Implements
System.IAsyncResult