Class DevicePolicyManager
Definition
- Namespace:
- Tizen.Security.DevicePolicyManager
- Assembly:
- Tizen.Security.DevicePolicyManager.dll
- API Level:
- 6
The DevicePolicyManager provides the methods to create handle for device policy.
C#Copypublic class DevicePolicyManager : IDisposable
- Inheritance
-
System.ObjectDevicePolicyManager
- Implements
-
System.IDisposable
Constructors
Declaration
C#Copypublic DevicePolicyManager()
Exceptions
Type | Condition |
---|---|
InvalidOperationException | Thrown when connection refused or a memory error occurred. |
API Level: 6
Methods
Declaration
C#Copypublic void Dispose()
View Source
Dispose(Boolean)
Releases any unmanaged resources used by this object. Can also dispose any other disposable objects.
Declaration
C#Copyprotected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing | If true, disposes any disposable objects. If false, does not dispose disposable objects. |
Declaration
C#Copyprotected void Finalize()
Declaration
C#Copypublic T GetPolicy<T>() where T : DevicePolicy
Returns
Type | Description |
---|---|
T | An instance of policy. |
Type Parameters
Name | Description |
---|---|
T | The generic type to create. |
Exceptions
Type | Condition |
---|---|
InvalidOperationException | Thrown when failed to create instance of the policy. |
API Level: 6
Implements
System.IDisposable