C# Класс Microsoft.VisualStudio.Project.Automation.AutomationScope

Helper class that handle the scope of an automation function. It should be used inside a "using" directive to define the scope of the automation function and make sure that the ExitAutomation method is called.
Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
AutomationScope ( IServiceProvider provider ) : System

Defines the beginning of the scope of an automation function. This constuctor calls EnterAutomationFunction to signal the Shell that the current function is changing the status of the automation objects.

Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

ExitAutomation ( ) : void

Ends the scope of the automation function. This function is also called by the Dispose method.

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Описание методов

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

Defines the beginning of the scope of an automation function. This constuctor calls EnterAutomationFunction to signal the Shell that the current function is changing the status of the automation objects.
public AutomationScope ( IServiceProvider provider ) : System
provider IServiceProvider
Результат System

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

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
Результат void

Dispose() защищенный Метод

protected Dispose ( bool disposing ) : void
disposing bool
Результат void

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

Ends the scope of the automation function. This function is also called by the Dispose method.
public ExitAutomation ( ) : void
Результат void