Class EmailPolicy
Definition
- Namespace:
- Tizen.Security.Device
Policy Manager
- Assembly:
- Tizen.Security.DevicePolicyManager.dll
The EmailPolicy provides methods to manage email policies.
public class EmailPolicy : DevicePolicy, IDisposable
- Inheritance
- Implements
-
System.
IDisposable
Remarks
The EmailPolicy is created by Get
Fields
View SourcePopImapEmailPolicyName
The PopImap email policy name. This represents Is
Declaration
public static readonly string PopImapEmailPolicyName
Field Value
Type | Description |
---|---|
string |
Remarks
This is used in Policy
Properties
View SourceIsPopImapAllowed
Gets whether the access to POP or IMAP email is allowed or not.
Declaration
public bool IsPopImapAllowed { get; }
Property Value
Type | Description |
---|---|
bool | true if the POP or IMAP email is allowed, false otherwise. The default value is true. |
Remarks
The EmailPolicy is created by Get
Methods
View SourceDispose()
Releases any unmanaged resources used by this object.
Declaration
public void Dispose()
Remarks
The EmailPolicy is created by Get
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. |
Remarks
The EmailPolicy is created by Get
~EmailPolicy()
A Destructor of EmailPolicy.
Declaration
protected ~EmailPolicy()
Remarks
The EmailPolicy is created by Get
Events
View SourcePopImapPolicyChanged
The PopImapPolicyChanged event is raised when the popimap-email policy is changed.
Declaration
public event EventHandler<PolicyChangedEventArgs> PopImapPolicyChanged
Event Type
Type | Description |
---|---|
System. |
Remarks
This event will be removed automatically when EmailPolicy is destroyed.