IVbcHostObject5.CompileAsync Method
This code is called only on the UI thread and kicks off the actual build with VB.
MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.
Namespace: Microsoft.Build.Tasks.Hosting
Assembly: Microsoft.Build.Tasks.Core (in Microsoft.Build.Tasks.Core.dll)
Syntax
'Declaration
Function CompileAsync ( _
<OutAttribute> ByRef buildSucceededEvent As IntPtr, _
<OutAttribute> ByRef buildFailedEvent As IntPtr _
) As Integer
int CompileAsync(
out IntPtr buildSucceededEvent,
out IntPtr buildFailedEvent
)
int CompileAsync(
[OutAttribute] IntPtr% buildSucceededEvent,
[OutAttribute] IntPtr% buildFailedEvent
)
abstract CompileAsync :
buildSucceededEvent:IntPtr byref *
buildFailedEvent:IntPtr byref -> int
function CompileAsync(
buildSucceededEvent : IntPtr,
buildFailedEvent : IntPtr
) : int
Parameters
buildSucceededEvent
Type: System.IntPtr%[out] the build-succeeded event.
buildFailedEvent
Type: System.IntPtr%[out] the build-failed event.
Return Value
Type: System.Int32
Returns 0 if the method was successful.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.