TeamFoundationExtensionUtility.LoadExtensions<T> Method (TeamFoundationRequestContext, Boolean)
Create plugins using the default plugin directory of the request context's service host.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Shared Function LoadExtensions(Of T) ( _
requestContext As TeamFoundationRequestContext, _
throwOnError As Boolean _
) As DisposableCollection(Of T)
public static DisposableCollection<T> LoadExtensions<T>(
TeamFoundationRequestContext requestContext,
bool throwOnError
)
public:
generic<typename T>
static DisposableCollection<T>^ LoadExtensions(
TeamFoundationRequestContext^ requestContext,
bool throwOnError
)
static member LoadExtensions :
requestContext:TeamFoundationRequestContext *
throwOnError:bool -> DisposableCollection<'T>
JScript does not support generic types or methods.
Type Parameters
- T
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- throwOnError
Type: System.Boolean
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.DisposableCollection<T>
.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.