private bool disposed = false;
private static ConnectionInternalManager s_instance = null;
- private EventHandler _ConnectionTypeChanged = null;
- private EventHandler _IPAddressChanged = null;
- private EventHandler _EthernetCableStateChanged = null;
- private EventHandler _ProxyAddressChanged = null;
+ private EventHandler<ConnectionTypeEventArgs> _ConnectionTypeChanged = null;
+ private EventHandler<AddressEventArgs> _IPAddressChanged = null;
+ private EventHandler<EthernetCableStateEventArgs> _EthernetCableStateChanged = null;
+ private EventHandler<AddressEventArgs> _ProxyAddressChanged = null;
private Interop.Connection.ConnectionAddressChangedCallback _connectionAddressChangedCallback;
private Interop.Connection.ConnectionTypeChangedCallback _connectionTypeChangedCallback;
return s_threadName.Value.GetHandle();
}
- internal event EventHandler ConnectionTypeChanged
+ internal event EventHandler<ConnectionTypeEventArgs> ConnectionTypeChanged
{
add
{
}
}
- internal event EventHandler EthernetCableStateChanged
+ internal event EventHandler<EthernetCableStateEventArgs> EthernetCableStateChanged
{
add
{
}
}
- internal event EventHandler IPAddressChanged
+ internal event EventHandler<AddressEventArgs> IPAddressChanged
{
add
{
}
}
- internal event EventHandler ProxyAddressChanged
+ internal event EventHandler<AddressEventArgs> ProxyAddressChanged
{
add
{
/// <feature>http://tizen.org/feature/network.telephony</feature>
/// <feature>http://tizen.org/feature/network.tethering.bluetooth</feature>
/// <feature>http://tizen.org/feature/network.wifi</feature>
- public static event EventHandler ConnectionTypeChanged
+ /// <exception cref="System.NotSupportedException">Thrown when a feature is not supported.</exception>
+ /// <exception cref="System.UnauthorizedAccessException">Thrown when a permission is denied.</exception>
+ public static event EventHandler<ConnectionTypeEventArgs> ConnectionTypeChanged
{
add
{
/// <since_tizen> 3 </since_tizen>
/// <privilege>http://tizen.org/privilege/network.get</privilege>
/// <feature>http://tizen.org/feature/network.ethernet</feature>
- public static event EventHandler EthernetCableStateChanged
+ /// <exception cref="System.NotSupportedException">Thrown when a feature is not supported.</exception>
+ /// <exception cref="System.UnauthorizedAccessException">Thrown when a permission is denied.</exception>
+ public static event EventHandler<EthernetCableStateEventArgs> EthernetCableStateChanged
{
add
{
/// <feature>http://tizen.org/feature/network.telephony</feature>
/// <feature>http://tizen.org/feature/network.tethering.bluetooth</feature>
/// <feature>http://tizen.org/feature/network.wifi</feature>
- public static event EventHandler IPAddressChanged
+ /// <exception cref="System.NotSupportedException">Thrown when a feature is not supported.</exception>
+ /// <exception cref="System.UnauthorizedAccessException">Thrown when a permission is denied.</exception>
+ public static event EventHandler<AddressEventArgs> IPAddressChanged
{
add
{
/// <feature>http://tizen.org/feature/network.telephony</feature>
/// <feature>http://tizen.org/feature/network.tethering.bluetooth</feature>
/// <feature>http://tizen.org/feature/network.wifi</feature>
- public static event EventHandler ProxyAddressChanged
+ /// <exception cref="System.NotSupportedException">Thrown when a feature is not supported.</exception>
+ /// <exception cref="System.UnauthorizedAccessException">Thrown when a permission is denied.</exception>
+ public static event EventHandler<AddressEventArgs> ProxyAddressChanged
{
add
{
namespace Tizen.Network.Connection
{
/// <summary>
- /// This is the ConnectionProfile class. It provides event and propeties of the connection profile.
+ /// This is the ConnectionProfile class. It provides event and properties of the connection profile.
/// </summary>
/// <since_tizen> 3 </since_tizen>
public class ConnectionProfile : IDisposable
private IAddressInformation IPv4;
private IAddressInformation IPv6;
private bool disposed = false;
- private EventHandler _ProfileStateChanged = null;
+ private EventHandler<ProfileStateEventArgs> _ProfileStateChanged = null;
private Interop.ConnectionProfile.ProfileStateChangedCallback _profileChangedCallback;
/// <feature>http://tizen.org/feature/network.telephony</feature>
/// <feature>http://tizen.org/feature/network.tethering.bluetooth</feature>
/// <feature>http://tizen.org/feature/network.wifi</feature>
- public event EventHandler ProfileStateChanged
+ /// <exception cref="System.NotSupportedException">Thrown when a feature is not supported.</exception>
+ public event EventHandler<ProfileStateEventArgs> ProfileStateChanged
{
add
{