| SmsProviderSendTextMessageAsync Method |
Starts an asynchronous operation to send a text message
Namespace: Eclo.NETMF.SIM800HAssembly: Eclo.NETMF.SIM800H (in Eclo.NETMF.SIM800H.dll) Version: 1.1.97.0 (1.1.97.0)
Syntax public SendTextMessageAsyncResult SendTextMessageAsync(
string destinationNumber,
string text,
AsyncCallback asyncCallback = null,
Object asyncState = null
)
Parameters
- destinationNumber
- Type: SystemString
Destination phone number. Numbers only, no spaces, punctuation or other chars accepted.
Number MUST ALWAYS include the country code preceded with international prefix '+' or '00'. - text
- Type: SystemString
Message text - asyncCallback (Optional)
- Type: SystemAsyncCallback
The callback to be invoked upon completion, optional - asyncState (Optional)
- Type: SystemObject
The state object to be stored against the SendMessageAsyncResult, optional.
Return Value
Type:
SendTextMessageAsyncResultThe IMEIAsyncResult
See Also