CommandLineArgsCallbackContext Constructors    
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.
Overloads
| CommandLineArgsCallbackContext(IList<Object>, CancellationToken) | 
						 Represents a callback context for the list of command-line arguments associated with an executable resource.  | 
        	
| CommandLineArgsCallbackContext(IList<Object>, IResource, CancellationToken) | 
						 Represents a callback context for the list of command-line arguments associated with an executable resource.  | 
        	
CommandLineArgsCallbackContext(IList<Object>, CancellationToken)
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.
Applies to
CommandLineArgsCallbackContext(IList<Object>, IResource, CancellationToken)
Represents a callback context for the list of command-line arguments associated with an executable resource.
public CommandLineArgsCallbackContext(System.Collections.Generic.IList<object> args, Aspire.Hosting.ApplicationModel.IResource resource, System.Threading.CancellationToken cancellationToken = default);
	new Aspire.Hosting.ApplicationModel.CommandLineArgsCallbackContext : System.Collections.Generic.IList<obj> * Aspire.Hosting.ApplicationModel.IResource * System.Threading.CancellationToken -> Aspire.Hosting.ApplicationModel.CommandLineArgsCallbackContext
	Public Sub New (args As IList(Of Object), resource As IResource, Optional cancellationToken As CancellationToken = Nothing)
	Parameters
- resource
 - IResource
 
The resource associated with this callback context.
- cancellationToken
 - CancellationToken
 
The cancellation token associated with this execution.