IVsSolutionEvents2.OnQueryCloseSolution(Object, Int32) 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.
Consulta clientes ouvindo se a solução pode ser fechada.
public:
int OnQueryCloseSolution(System::Object ^ pUnkReserved, [Runtime::InteropServices::Out] int % pfCancel);
int OnQueryCloseSolution(winrt::Windows::Foundation::IInspectable const & pUnkReserved, [Runtime::InteropServices::Out] int & pfCancel);
public int OnQueryCloseSolution (object pUnkReserved, out int pfCancel);
abstract member OnQueryCloseSolution : obj * int -> int
Public Function OnQueryCloseSolution (pUnkReserved As Object, ByRef pfCancel As Integer) As Integer
Parâmetros
- pUnkReserved
- Object
no Reservado para uso futuro.
- pfCancel
- Int32
[fora] true Se o cliente proibiu o fechamento da solução. false Se o cliente aprovou o fechamento da solução.
Retornos
Se o método for bem-sucedido, retornará S_OK. Se falhar, retornará um código de erro.
Implementações
Comentários
Assinatura COM
De VSShell. idl:
HRESULT IVsSolutionEvents2::OnQueryCloseSolution(
[in] IUnknown *pUnkReserved,
[in,out] BOOL *pfCancel
);