CommandLineArgsCallbackContext(IList<Object>, CancellationToken) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a callback context for the list of command-line arguments associated with an executable resource.
public CommandLineArgsCallbackContext (System.Collections.Generic.IList<object> args, System.Threading.CancellationToken cancellationToken = default);
new Aspire.Hosting.ApplicationModel.CommandLineArgsCallbackContext : System.Collections.Generic.IList<obj> * System.Threading.CancellationToken -> Aspire.Hosting.ApplicationModel.CommandLineArgsCallbackContext
Public Sub New (args As IList(Of Object), Optional cancellationToken As CancellationToken = Nothing)
Parameters
- cancellationToken
- CancellationToken
The cancellation token associated with this execution.