CodeContainerStorageManager.GetAsync(String, CancellationToken) Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
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
Implementações
Exceções
Gerado se fullPath for nulo.
Gerado se fullPath estiver vazio.