DeploymentServiceHost.CreateSystemContext Method (Boolean)
Creates a new request context for background system operations.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Function CreateSystemContext ( _
throwIfShutdown As Boolean _
) As TeamFoundationRequestContext
public TeamFoundationRequestContext CreateSystemContext(
bool throwIfShutdown
)
public:
TeamFoundationRequestContext^ CreateSystemContext(
bool throwIfShutdown
)
member CreateSystemContext :
throwIfShutdown:bool -> TeamFoundationRequestContext
public function CreateSystemContext(
throwIfShutdown : boolean
) : TeamFoundationRequestContext
Parameters
- throwIfShutdown
Type: System.Boolean
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
.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.