PlaywrightService.GetConnectOptionsAsync<T> Method
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.
Gets the connect options for connecting to Playwright Service's cloud hosted browsers.
public System.Threading.Tasks.Task<Azure.Developer.MicrosoftPlaywrightTesting.TestLogger.ConnectOptions<T>> GetConnectOptionsAsync<T> (System.Runtime.InteropServices.OSPlatform? os = default, string? runId = default, string? exposeNetwork = default, System.Threading.CancellationToken cancellationToken = default) where T : class, new();
member this.GetConnectOptionsAsync : Nullable<System.Runtime.InteropServices.OSPlatform> * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Developer.MicrosoftPlaywrightTesting.TestLogger.ConnectOptions<'T>> (requires 'T : null and 'T : (new : unit -> 'T))
Public Function GetConnectOptionsAsync(Of T As {Class, New}) (Optional os As Nullable(Of OSPlatform) = Nothing, Optional runId As String = Nothing, Optional exposeNetwork As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ConnectOptions(Of T))
Type Parameters
- T
The type of the connect options.
Parameters
- os
- Nullable<OSPlatform>
The operating system.
- runId
- String
The run ID.
- exposeNetwork
- String
The network exposure.
- cancellationToken
- CancellationToken
Cancellation token.
Returns
Task<ConnectOptions<T>>
The connect options.
Applies to
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for .NET