你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

LoadTestingModelFactory.MetricNamespace(String, String) Method

Definition

Initializes a new instance of MetricNamespace.

public static Azure.Developer.LoadTesting.MetricNamespace MetricNamespace(string description = default, string name = default);
static member MetricNamespace : string * string -> Azure.Developer.LoadTesting.MetricNamespace
Public Shared Function MetricNamespace (Optional description As String = Nothing, Optional name As String = Nothing) As MetricNamespace

Parameters

description
String

The namespace description.

name
String

The metric namespace name.

Returns

A new MetricNamespace instance for mocking.

Applies to