Share via


DevTunnelResource(String, String, String, String, DevTunnelOptions) Constructor

Definition

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

Applies to