Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Establishes a callback for deployment status. Returns a cookie to save and use in the corresponding unadvise method.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Declaration
Function AdviseDeployStatusCallback ( _
pIVsDeployStatusCallback As IVsDeployStatusCallback, _
<OutAttribute> ByRef pdwCookie As UInteger _
) As Integer
int AdviseDeployStatusCallback(
IVsDeployStatusCallback pIVsDeployStatusCallback,
out uint pdwCookie
)
int AdviseDeployStatusCallback(
[InAttribute] IVsDeployStatusCallback^ pIVsDeployStatusCallback,
[OutAttribute] unsigned int% pdwCookie
)
abstract AdviseDeployStatusCallback :
pIVsDeployStatusCallback:IVsDeployStatusCallback *
pdwCookie:uint32 byref -> int
function AdviseDeployStatusCallback(
pIVsDeployStatusCallback : IVsDeployStatusCallback,
pdwCookie : uint
) : int
Parameters
pIVsDeployStatusCallback
Type: Microsoft.VisualStudio.Shell.Interop.IVsDeployStatusCallback[in] Pointer to an IVsDeployStatusCallback to use for calling back to report deployment status.
pdwCookie
Type: System.UInt32%[out] A VSCOOKIE representing this callback. Used in the UnadviseDeployStatusCallback method.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.