Share via


Provisioning Schema::context

Element that encapsulates transaction-specific contextual information for a provisioning request. This element is part of the provisioning schema of Microsoft Provisioning Framework (MPF).

The context node has two uses in MPF. In requests, context encapsulates:

  • Transaction context (TIP URL, transaction ID that MPF generates for an incoming request)

  • Security context (security credentials used for authentication)

  • Queue context (queue ID and failure handling attributes)

  • Client context (ID that the calling user uses to track the request, client's locale ID)

When the Provisioning Engine executes the request, it generates a corresponding context child node in the executeXML node it passes to the called procedure. Here, the context node contains:

  • Transaction context (same as above)

  • Execute context (namespace name, procedure name, and source provider name)

  • Security context (same as above)

  • Client context (same as above)

  • Error context (if the procedure executes within a catch block)

Arguments

Input Argument Description

Provisioning Schema::clientContext

(minOccurs="0" maxOccurs="1")

Provisioning Schema::errorContext

(minOccurs="0" maxOccurs="1")

Provisioning Schema::executeContext

(minOccurs="0" maxOccurs="1")

Provisioning Schema::providerContext

(minOccurs="0" maxOccurs="1")

Provisioning Schema::queueContext

(minOccurs="0" maxOccurs="1")

Provisioning Schema::securityContext

(minOccurs="0" maxOccurs="1")

Provisioning Schema::transactionContext

(minOccurs="0" maxOccurs="1")

Remarks

No remarks.

Sample Code

Example XML Request

<context> 
  <clientContext clientTransactionId="53367B03-63D3-44ae-B8AD-C1E57E876E6C" /> 
  <securityContext impersonate="0" sensitive="0" trusted="0" /> 
</context>

Applies To

Provisioning Schema; Provisioning Schema::executeXml; Provisioning Schema::request

See also

Tasks

Provisioning Schema::executeXml
Provisioning Schema::request
Provisioning Schema::errorContext
Provisioning Schema::executeContext
Provisioning Schema::providerContext
Provisioning Schema::queueContext
Provisioning Schema::securityContext
Provisioning Schema::transactionContext