Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Note
Use this API only when the focused session belongs to the provider or if it is the home or default session.
Closes the specified app tab in the current session.
Syntax
Microsoft.CIFramework.closeTab(tabId, correlationId).then(successCallback, errorCallback);
Parameters
Name | Type | Required | Description |
---|---|---|---|
tabId | String | Yes | Name of the event whose handler needs to be invoked. |
correlationId | GUID | No | Used to group all related API calls together for diagnostic telemetry. |
successCallback | Function | No | A function to call when a record is retrieved. |
errorCallback | Function | No | A function to call when the operation fails. |
Return value
None
Example
Microsoft.CIFramework.closeTab(tabId, correlationId).then(
function(result) {
return Promise.resolve(result);
},
function(error) {
return Promise.reject(error)
});