ITeamExplorerPlugin.BeginLoad Method
Begins an asynchronous load operation.
Namespace: Microsoft.TeamFoundation.Common
Assembly: Microsoft.VisualStudio.TeamFoundation.Client (in Microsoft.VisualStudio.TeamFoundation.Client.dll)
Syntax
'Declaration
Function BeginLoad ( _
parentHierarchy As IVsUIHierarchy, _
parentItemId As UInteger, _
<OutAttribute> ByRef newHierarchy As IVsUIHierarchy, _
callback As AsyncCallback, _
stateObject As Object _
) As IAsyncResult
IAsyncResult BeginLoad(
IVsUIHierarchy parentHierarchy,
uint parentItemId,
out IVsUIHierarchy newHierarchy,
AsyncCallback callback,
Object stateObject
)
IAsyncResult^ BeginLoad(
IVsUIHierarchy^ parentHierarchy,
unsigned int parentItemId,
[OutAttribute] IVsUIHierarchy^% newHierarchy,
AsyncCallback^ callback,
Object^ stateObject
)
abstract BeginLoad :
parentHierarchy:IVsUIHierarchy *
parentItemId:uint32 *
newHierarchy:IVsUIHierarchy byref *
callback:AsyncCallback *
stateObject:Object -> IAsyncResult
function BeginLoad(
parentHierarchy : IVsUIHierarchy,
parentItemId : uint,
newHierarchy : IVsUIHierarchy,
callback : AsyncCallback,
stateObject : Object
) : IAsyncResult
Parameters
- parentHierarchy
Type: Microsoft.VisualStudio.Shell.Interop.IVsUIHierarchy
The IVsUIHierarchy object representing the parent hierarchy of the tree to load.
- parentItemId
Type: System.UInt32
The item ID of the parent of the tree to load.
- newHierarchy
Type: Microsoft.VisualStudio.Shell.Interop.IVsUIHierarchy%
The IVsUIHierarchy object representing the new tree that was loaded.
- callback
Type: System.AsyncCallback
The callback function.
- stateObject
Type: System.Object
An object representing the state of the load.
Return Value
Type: System.IAsyncResult
The IAsyncResult object representing the result of the asynchronous operation.
.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.