Partager via


CachedComposition.SaveAsync Method

Definition

Overloads

SaveAsync(CompositionConfiguration, Stream, CancellationToken)
SaveAsync(RuntimeComposition, Stream, CancellationToken)

SaveAsync(CompositionConfiguration, Stream, CancellationToken)

Source:
CachedComposition.cs
Source:
CachedComposition.cs
public System.Threading.Tasks.Task SaveAsync (Microsoft.VisualStudio.Composition.CompositionConfiguration configuration, System.IO.Stream cacheStream, System.Threading.CancellationToken cancellationToken = default);
abstract member SaveAsync : Microsoft.VisualStudio.Composition.CompositionConfiguration * System.IO.Stream * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.SaveAsync : Microsoft.VisualStudio.Composition.CompositionConfiguration * System.IO.Stream * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function SaveAsync (configuration As CompositionConfiguration, cacheStream As Stream, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

configuration
CompositionConfiguration
cacheStream
Stream
cancellationToken
CancellationToken

Returns

Implements

Applies to

SaveAsync(RuntimeComposition, Stream, CancellationToken)

Source:
CachedComposition.cs
Source:
CachedComposition.cs
public System.Threading.Tasks.Task SaveAsync (Microsoft.VisualStudio.Composition.RuntimeComposition composition, System.IO.Stream cacheStream, System.Threading.CancellationToken cancellationToken = default);
abstract member SaveAsync : Microsoft.VisualStudio.Composition.RuntimeComposition * System.IO.Stream * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.SaveAsync : Microsoft.VisualStudio.Composition.RuntimeComposition * System.IO.Stream * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function SaveAsync (composition As RuntimeComposition, cacheStream As Stream, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

composition
RuntimeComposition
cacheStream
Stream
cancellationToken
CancellationToken

Returns

Implements

Applies to