Class ComponentRunningContext
Definition
- Namespace:
- Tizen.Applications.Component
Based
- 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.
C#
Copy
public class ComponentRunningContext : IDisposable
- Inheritance
-
objectComponent
Running Context
- Implements
-
System.
IDisposable
Constructors
ComponentRunningContext(string)
Initializes a new instance of the Component
Declaration
C#
Copy
public ComponentRunningContext(string componentId)
Parameters
Type | Name | Description |
---|---|---|
string | componentId | The ID of the component. |
Exceptions
Type | Condition |
---|---|
System. |
Thrown when the component ID is invalid. |
System. |
Thrown when the component does not exist or a system error occurs. |
System. |
Thrown when memory allocation fails. |
System. |
Thrown when permission is denied to access the component. |
Properties
Declaration
C#
Copy
public string ApplicationId { get; }
Property Value
Type | Description |
---|---|
string |
Declaration
C#
Copy
public string ComponentId { get; }
Property Value
Type | Description |
---|---|
string | The component ID as a string. |
Declaration
C#
Copy
public string InstanceId { get; }
Property Value
Type | Description |
---|---|
string |
Declaration
C#
Copy
public bool IsSubComponent { get; }
Property Value
Type | Description |
---|---|
bool |
|
Declaration
C#
Copy
public bool IsTerminated { get; }
Property Value
Type | Description |
---|---|
bool |
|
Declaration
C#
Copy
public ComponentRunningContext.ComponentState State { get; }
Property Value
Type | Description |
---|---|
Component |
Methods
Declaration
C#
Copy
public void Dispose()
Declaration
C#
Copy
protected ~ComponentRunningContext()
Declaration
C#
Copy
public void Resume()
Exceptions
Type | Condition |
---|---|
System. |
Thrown when the argument is invalid. |
System. |
Thrown when a system error occurs. |
System. |
Thrown when memory allocation fails. |
System. |
Thrown when permission is denied to resume the component. |