Class ComponentRunningContext
Definition
- Namespace:
- Tizen.Applications.ComponentBased
- Assembly:
- Tizen.Applications.ComponentBased.ComponentManager.dll
- API Level:
- 6
This class provides methods and properties to get information of the running component.
C#Copypublic class ComponentRunningContext : IDisposable
- Inheritance
-
System.ObjectComponentRunningContext
- Implements
-
System.IDisposable
Constructors
View Source
ComponentRunningContext(String)
A constructor of ComponentRunningContext that takes the component ID.
Declaration
C#Copypublic ComponentRunningContext(string componentId)
Parameters
Type | Name | Description |
---|---|---|
System.String | componentId | Component ID. |
Exceptions
Type | Condition |
---|---|
System.ArgumentException | Thrown when failed because of an invalid argument. |
System.InvalidOperationException | Thrown when failed because of the "component not exist" error or the system error. |
OutOfMemoryException | Thrown when failed because of out of memory. |
UnauthorizedAccessException | Thrown when failed because of permission denied. |
API Level: 6
Privilege Level: public
Privilege: http://tizen.org/privilege/packagemanager.info
Properties
Declaration
C#Copypublic string ApplicationId { get; }
Property Value
Type | Description |
---|---|
System.String |
API Level: 6
Declaration
C#Copypublic string ComponentId { get; }
Property Value
Type | Description |
---|---|
System.String |
API Level: 6
Declaration
C#Copypublic string InstanceId { get; }
Property Value
Type | Description |
---|---|
System.String |
API Level: 6
Declaration
C#Copypublic bool IsSubComponent { get; }
Property Value
Type | Description |
---|---|
Boolean |
API Level: 6
Declaration
C#Copypublic bool IsTerminated { get; }
Property Value
Type | Description |
---|---|
Boolean |
API Level: 6
Declaration
C#Copypublic ComponentRunningContext.ComponentState State { get; }
Property Value
Type | Description |
---|---|
ComponentRunningContext.ComponentState |
API Level: 6
Methods
Declaration
C#Copypublic void Dispose()
API Level: 6
Declaration
C#Copyprotected void Finalize()
Declaration
C#Copypublic void Resume()
Exceptions
Type | Condition |
---|---|
System.ArgumentException | Thrown when failed because of an invalid argument. |
System.InvalidOperationException | Thrown when failed because of the system error. |
OutOfMemoryException | Thrown when failed because of out of memory. |
UnauthorizedAccessException | Thrown when failed because of permission denied. |
API Level: 6
Privilege Level: public
Privilege: http://tizen.org/privilege/appmanager.launch
Implements
System.IDisposable