Class BulkResultData

    Definition

    Namespace:
    Tizen.Applications.DataControl
    Assembly:
    Tizen.Applications.DataControl.dll

    Represents the BulkResultData class for the DataControl bulk request.

    public class BulkResultData : IDisposable
    Inheritance
    object
    BulkResultData
    Implements
    System.IDisposable

    Constructors

    View Source

    BulkResultData()

    Initializes the BulkResultData class.

    Declaration
    public BulkResultData()
    Exceptions
    Type Condition
    System.InvalidOperationException

    Thrown in case of any internal error.

    Methods

    View Source

    Add(Bundle, int)

    Adds the bulk operation result data.

    Declaration
    public void Add(Bundle data, int result)
    Parameters
    Type Name Description
    Bundle data

    The result data.

    int result

    Result.

    Exceptions
    Type Condition
    System.ArgumentException

    Thrown in case of an invalid parameter.

    View Source

    Dispose()

    Releases all the resources used by the BulkResultData class.

    Declaration
    public void Dispose()
    View Source

    Dispose(bool)

    Releases any unmanaged resources used by this object. Can also dispose any other disposable objects.

    Declaration
    protected virtual void Dispose(bool disposing)
    Parameters
    Type Name Description
    bool disposing

    If true, disposes any disposable objects. If false, does not dispose disposable objects.

    View Source

    ~BulkResultData()

    Destructor of the BulkResultData class.

    Declaration
    protected ~BulkResultData()
    View Source

    GetCount()

    Gets the current result data count.

    Declaration
    public int GetCount()
    Returns
    Type Description
    int
    View Source

    GetData(int)

    Returns the result data at the given zero-based data index.

    Declaration
    public Bundle GetData(int index)
    Parameters
    Type Name Description
    int index

    The target result data index.

    Returns
    Type Description
    Bundle
    Exceptions
    Type Condition
    System.ArgumentException

    Thrown in case of an invalid parameter.

    View Source

    GetResult(int)

    Returns the result at the given zero-based data index.

    Declaration
    public int GetResult(int index)
    Parameters
    Type Name Description
    int index

    The target result index.

    Returns
    Type Description
    int
    Exceptions
    Type Condition
    System.ArgumentException

    Thrown in case of an invalid parameter.

    Implements

    System.IDisposable
    • View Source
    Back to top Copyright © 2016-2024 Samsung
    Generated by DocFX