Compositor.GetCommitBatch(CompositionBatchTypes) Method

Definition

Retrieves a commit batch for the current commit cycle.

Equivalent WinUI method: Microsoft.UI.Composition.Compositor.GetCommitBatch.

public:
 virtual CompositionCommitBatch ^ GetCommitBatch(CompositionBatchTypes batchType) = GetCommitBatch;
CompositionCommitBatch GetCommitBatch(CompositionBatchTypes const& batchType);
public CompositionCommitBatch GetCommitBatch(CompositionBatchTypes batchType);
function getCommitBatch(batchType)
Public Function GetCommitBatch (batchType As CompositionBatchTypes) As CompositionCommitBatch

Parameters

batchType
CompositionBatchTypes

The batch type.

Returns

CompositionCommitBatch

Returns a CompositionCommitBatch representing the retrieved commit batch.

Windows requirements

Device family
Windows 10 (introduced in 10.0.10586.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v2.0)

Applies to