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
-
objectBulkResultData
- Implements
-
System.IDisposable
Constructors
View SourceBulkResultData()
Initializes the BulkResultData class.
Declaration
public BulkResultData()
Exceptions
| Type | Condition |
|---|---|
| System.InvalidOperationException | Thrown in case of any internal error. |
Methods
View SourceAdd(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. |
Dispose()
Releases all the resources used by the BulkResultData class.
Declaration
public void Dispose()
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. |
~BulkResultData()
Destructor of the BulkResultData class.
Declaration
protected ~BulkResultData()
GetCount()
Gets the current result data count.
Declaration
public int GetCount()
Returns
| Type | Description |
|---|---|
| int |
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. |
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. |