Show / Hide Table of Contents

    Class SendMmsMessageAsyncResult

    An asynchronous result object returning the outcome of an attempt to send a MMS message.

    Inheritance
    System.Object
    DeviceAsyncResult
    SendMmsMessageAsyncResult
    Implements
    System.IAsyncResult
    Inherited Members
    DeviceAsyncResult.AsyncState
    DeviceAsyncResult.CompletedSynchronously
    DeviceAsyncResult.IsCompleted
    DeviceAsyncResult.AsyncWaitHandle
    DeviceAsyncResult.Complete(Exception, Boolean)
    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. Result property is false if request couldn't be completed for any reason. See error code for details.

    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 Blocks until the asynchronous processing has completed

    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
    DeviceAsyncResult.Process()

    Implements

    System.IAsyncResult
    Back to top Copyright © 2018 Eclo Solutions
    Generated by DocFX