DevTunnelResource(String, String, String, String, DevTunnelOptions) 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.
A resource representing a persistent dev tunnel that runs for the life of the AppHost.
public DevTunnelResource(string name, string tunnelId, string command, string workingDirectory, Aspire.Hosting.DevTunnels.DevTunnelOptions? options = default);
new Aspire.Hosting.DevTunnels.DevTunnelResource : string * string * string * string * Aspire.Hosting.DevTunnels.DevTunnelOptions -> Aspire.Hosting.DevTunnels.DevTunnelResource
Public Sub New (name As String, tunnelId As String, command As String, workingDirectory As String, Optional options As DevTunnelOptions = Nothing)
Parameters
- name
- String
- tunnelId
- String
- command
- String
- workingDirectory
- String
- options
- DevTunnelOptions