Class SendMmsMessageAsyncResult
An asynchronous result object returning the outcome of an attempt to send a MMS message.
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 SendMmsMessageAsyncResult : DeviceAsyncResult, IAsyncResult
Constructors
SendMmsMessageAsyncResult(String, MmsMessage, Boolean, AsyncCallback, Object)
Declaration
public SendMmsMessageAsyncResult(string destination, MmsMessage message, bool closeConnectionOnCompletion = true, AsyncCallback asyncCallback = null, object asyncState = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | destination | |
MmsMessage | message | |
System.Boolean | closeConnectionOnCompletion | |
System.AsyncCallback | asyncCallback | |
System.Object | asyncState |
Fields
Result
Result of the MMS send operation.
Declaration
public bool Result
Field Value
Type | Description |
---|---|
System.Boolean |
Properties
ErrorCode
Error code of the send request.
Declaration
public int ErrorCode { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
End()
Finishes the asynchronous processing and throws an exception if one was generated
Declaration
public bool End()
Returns
Type | Description |
---|---|
System.Boolean | Returns the result of the request. |
Process()
The method used to perform the asynchronous processing
Declaration
public override void Process()
Overrides
Implements
System.IAsyncResult