Class ComponentRunningContext
Definition
- Namespace:
- Tizen.Applications.ComponentBased
- Assembly:
- Tizen.Applications.ComponentBased.ComponentManager.dll
Represents the context of a running component, providing methods and properties to retrieve information about the component's state and behavior.
[Obsolete("This has been deprecated in API14")]
public class ComponentRunningContext : IDisposable
- Inheritance
-
ComponentRunningContext
- Implements
Constructors
View SourceComponentRunningContext(string)
Initializes a new instance of the ComponentRunningContext class with a specified component ID, retrieving the context handle associated with it.
Declaration
[Obsolete("This has been deprecated in API14")]
public ComponentRunningContext(string componentId)
Parameters
| Type | Name | Description |
|---|---|---|
| string | componentId | The ID of the component. |
Exceptions
| Type | Condition |
|---|---|
| ArgumentException | Thrown when the component ID is invalid. |
| InvalidOperationException | Thrown when the component does not exist or a system error occurs. |
| OutOfMemoryException | Thrown when memory allocation fails. |
| UnauthorizedAccessException | Thrown when permission is denied to access the component. |
Properties
View SourceApplicationId
Gets the application ID associated with the component.
Declaration
[Obsolete("This has been deprecated in API14")]
public string ApplicationId { get; }
Property Value
| Type | Description |
|---|---|
| string |
ComponentId
Gets the ID of the component.
Declaration
[Obsolete("This has been deprecated in API14")]
public string ComponentId { get; }
Property Value
| Type | Description |
|---|---|
| string | The component ID as a string. |
InstanceId
Gets the instance ID of the component.
Declaration
[Obsolete("This has been deprecated in API14")]
public string InstanceId { get; }
Property Value
| Type | Description |
|---|---|
| string |
IsSubComponent
Checks whether the component is running as a sub-component of a group.
Declaration
[Obsolete("This has been deprecated in API14")]
public bool IsSubComponent { get; }
Property Value
| Type | Description |
|---|---|
| bool |
|
IsTerminated
Checks whether the component has been terminated.
Declaration
[Obsolete("This has been deprecated in API14")]
public bool IsTerminated { get; }
Property Value
| Type | Description |
|---|---|
| bool |
|
State
Gets the current state of the component.
Declaration
[Obsolete("This has been deprecated in API14")]
public ComponentRunningContext.ComponentState State { get; }
Property Value
| Type | Description |
|---|---|
| ComponentRunningContext.ComponentState |
Methods
View SourceDispose()
Releases all resources used by the ComponentRunningContext class.
Declaration
public void Dispose()
~ComponentRunningContext()
Finalizes an instance of the ComponentRunningContext class.
Declaration
protected ~ComponentRunningContext()
Resume()
Resumes the execution of the running component.
Declaration
[Obsolete("This has been deprecated in API14")]
public void Resume()
Exceptions
| Type | Condition |
|---|---|
| ArgumentException | Thrown when the argument is invalid. |
| InvalidOperationException | Thrown when a system error occurs. |
| OutOfMemoryException | Thrown when memory allocation fails. |
| UnauthorizedAccessException | Thrown when permission is denied to resume the component. |