UnmapDirectory() публичный Метод

Unmaps the label
Operation failure
public UnmapDirectory ( String label ) : void
label String Disk label
Результат void
Пример #1
0
 public override void BeforeWrapperStopped()
 {
     foreach (SharedDirectoryMapperConfig config in _entries)
     {
         if (config.EnableMapping)
         {
             try
             {
                 _mapper.UnmapDirectory(config.Label);
             }
             catch (MapperException ex)
             {
                 HandleMappingError(config, ex);
             }
         }
     }
 }
Пример #2
0
 public override void OnStop(IEventWriter eventWriter)
 {
     foreach (SharedDirectoryMapperConfig config in _entries)
     {
         if (config.EnableMapping)
         {
             try
             {
                 _mapper.UnmapDirectory(config.Label);
             }
             catch (MapperException ex)
             {
                 HandleMappingError(config, eventWriter, ex);
             }
         }
     }
 }