Windows.Devices.Enumeration.DeviceWatcher.Start C# (CSharp) Méthode

Start() public méthode

public Start ( ) : void
Résultat void
		public extern void Start();
		public extern void Stop();

Usage Example

 public ExternalDeviceService()
 {
     _deviceWatcher = DeviceInformation.CreateWatcher(DeviceClass.PortableStorageDevice);
     _deviceWatcher.Added += DeviceAdded;
     _deviceWatcher.Removed += DeviceRemoved;
     _deviceWatcher.Start();
 }
All Usage Examples Of Windows.Devices.Enumeration.DeviceWatcher::Start
DeviceWatcher