CosmosClientBuilder.WithApplicationName(String) 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.
A suffix to be added to the default user-agent for the Azure Cosmos DB service.
public Azure.Cosmos.Fluent.CosmosClientBuilder WithApplicationName (string applicationName);
member this.WithApplicationName : string -> Azure.Cosmos.Fluent.CosmosClientBuilder
Public Function WithApplicationName (applicationName As String) As CosmosClientBuilder
Parameters
- applicationName
- String
A string to use as suffix in the User Agent.
Returns
The current CosmosClientBuilder.
Remarks
Setting this property after sending any request won't have any effect.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET