Class BulkResultData

Definition

Namespace:
Tizen.Applications.DataControl
Assembly:
Tizen.Applications.DataControl.dll
API Level:
3

Represents the BulkResultData class for the DataControl bulk request.

C#
Copy
public class BulkResultData : IDisposable
Inheritance
System.Object
BulkResultData
Implements
System.IDisposable

Constructors

View Source

BulkResultData()

Initializes the BulkResultData class.

Declaration
C#
Copy
public BulkResultData()
Exceptions
Type Condition
System.InvalidOperationException

Thrown in case of any internal error.

API Level: 3

Methods

View Source

Add(Bundle, Int32)

Adds the bulk operation result data.

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

The result data.

Int32 result

Result.

Exceptions
Type Condition
System.ArgumentException

Thrown in case of an invalid parameter.

API Level: 3
View Source

Dispose()

Releases all the resources used by the BulkResultData class.

Declaration
C#
Copy
public void Dispose()
API Level: 3
View Source

Dispose(Boolean)

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

Declaration
C#
Copy
protected virtual void Dispose(bool disposing)
Parameters
Type Name Description
Boolean disposing

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

API Level: 3
View Source

Finalize()

Destructor of the BulkResultData class.

Declaration
C#
Copy
protected void Finalize()
View Source

GetCount()

Gets the current result data count.

Declaration
C#
Copy
public int GetCount()
Returns
Type Description
Int32
API Level: 3
View Source

GetData(Int32)

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

Declaration
C#
Copy
public Bundle GetData(int index)
Parameters
Type Name Description
Int32 index

The target result data index.

Returns
Type Description
Bundle
Exceptions
Type Condition
System.ArgumentException

Thrown in case of an invalid parameter.

API Level: 3
View Source

GetResult(Int32)

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

Declaration
C#
Copy
public int GetResult(int index)
Parameters
Type Name Description
Int32 index

The target result index.

Returns
Type Description
Int32
Exceptions
Type Condition
System.ArgumentException

Thrown in case of an invalid parameter.

API Level: 3

Implements

System.IDisposable