CodeContainerStorageManager.GetAsync(String, CancellationToken) Método

Definição

Recupera o CodeContainer cujo Full-Path é igual a fullPath se tiver sido aberto anteriormente pelo shell. Retorna NULL caso contrário.

public System.Threading.Tasks.Task<Microsoft.VisualStudio.Shell.CodeContainerManagement.CodeContainer> GetAsync (string fullPath, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.VisualStudio.Shell.CodeContainerManagement.CodeContainer>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.VisualStudio.Shell.CodeContainerManagement.CodeContainer>
Public Function GetAsync (fullPath As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of CodeContainer)

Parâmetros

fullPath
String

Caminho completo

cancellationToken
CancellationToken

Token de cancelamento

Retornos

Task<CodeContainer>

Implementações

Exceções

Gerado se fullPath for nulo.

Gerado se fullPath estiver vazio.

Aplica-se a