Show / Hide Table of Contents

    Class SendTextMessageAsyncResult

    An asynchronous result object returning the result of an attempt to send an SMS

    Inheritance
    System.Object
    DeviceAsyncResult
    SendTextMessageAsyncResult
    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 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 Blocks until the asynchronous processing has completed

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

    Implements

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