PlaywrightService 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
PlaywrightService(PlaywrightServiceOptions, TokenCredential, IFrameworkLogger) |
Initializes a new instance of the PlaywrightService class. |
PlaywrightService(Nullable<OSPlatform>, String, String, String, Nullable<Boolean>, TokenCredential, IFrameworkLogger) |
Initializes a new instance of the PlaywrightService class. |
PlaywrightService(PlaywrightServiceOptions, TokenCredential, IFrameworkLogger)
- Source:
- PlaywrightService.cs
Initializes a new instance of the PlaywrightService class.
public PlaywrightService (Azure.Developer.MicrosoftPlaywrightTesting.TestLogger.PlaywrightServiceOptions playwrightServiceOptions, Azure.Core.TokenCredential? credential = default, Azure.Developer.MicrosoftPlaywrightTesting.TestLogger.Interface.IFrameworkLogger? frameworkLogger = default);
new Azure.Developer.MicrosoftPlaywrightTesting.TestLogger.PlaywrightService : Azure.Developer.MicrosoftPlaywrightTesting.TestLogger.PlaywrightServiceOptions * Azure.Core.TokenCredential * Azure.Developer.MicrosoftPlaywrightTesting.TestLogger.Interface.IFrameworkLogger -> Azure.Developer.MicrosoftPlaywrightTesting.TestLogger.PlaywrightService
Public Sub New (playwrightServiceOptions As PlaywrightServiceOptions, Optional credential As TokenCredential = Nothing, Optional frameworkLogger As IFrameworkLogger = Nothing)
Parameters
- playwrightServiceOptions
- PlaywrightServiceOptions
- credential
- TokenCredential
- frameworkLogger
- IFrameworkLogger
Applies to
PlaywrightService(Nullable<OSPlatform>, String, String, String, Nullable<Boolean>, TokenCredential, IFrameworkLogger)
- Source:
- PlaywrightService.cs
Initializes a new instance of the PlaywrightService class.
public PlaywrightService (System.Runtime.InteropServices.OSPlatform? os = default, string? runId = default, string? exposeNetwork = default, string? serviceAuth = default, bool? useCloudHostedBrowsers = default, Azure.Core.TokenCredential? credential = default, Azure.Developer.MicrosoftPlaywrightTesting.TestLogger.Interface.IFrameworkLogger? frameworkLogger = default);
new Azure.Developer.MicrosoftPlaywrightTesting.TestLogger.PlaywrightService : Nullable<System.Runtime.InteropServices.OSPlatform> * string * string * string * Nullable<bool> * Azure.Core.TokenCredential * Azure.Developer.MicrosoftPlaywrightTesting.TestLogger.Interface.IFrameworkLogger -> Azure.Developer.MicrosoftPlaywrightTesting.TestLogger.PlaywrightService
Public Sub New (Optional os As Nullable(Of OSPlatform) = Nothing, Optional runId As String = Nothing, Optional exposeNetwork As String = Nothing, Optional serviceAuth As String = Nothing, Optional useCloudHostedBrowsers As Nullable(Of Boolean) = Nothing, Optional credential As TokenCredential = Nothing, Optional frameworkLogger As IFrameworkLogger = Nothing)
Parameters
- os
- Nullable<OSPlatform>
The operating system.
- runId
- String
The run ID.
- exposeNetwork
- String
The network exposure.
- serviceAuth
- String
The service authentication mechanism.
- credential
- TokenCredential
The token credential.
- frameworkLogger
- IFrameworkLogger
Logger
Applies to
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.
Azure SDK for .NET