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

TimeGrain Struct

Definition

Time Grain.

public readonly struct TimeGrain : IEquatable<Azure.Developer.LoadTesting.TimeGrain>
type TimeGrain = struct
Public Structure TimeGrain
Implements IEquatable(Of TimeGrain)
Inheritance
TimeGrain
Implements

Constructors

TimeGrain(String)

Initializes a new instance of TimeGrain.

Properties

FiveMinutes

5 minutes, available only if test run duration is greater than 1 minute.

FiveSeconds

5 seconds, available only if test run duration is less than 10 minutes.

OneHour

1 hour, available only if test run duration is greater than 1 minute.

OneMinute

1 minute.

TenSeconds

10 seconds, available only if test run duration is less than 10 minutes.

Methods

Equals(TimeGrain)

Indicates whether the current object is equal to another object of the same type.

ToString()

Returns the fully qualified type name of this instance.

Operators

Equality(TimeGrain, TimeGrain)

Determines if two TimeGrain values are the same.

Implicit(String to TimeGrain)

Converts a String to a TimeGrain.

Inequality(TimeGrain, TimeGrain)

Determines if two TimeGrain values are not the same.

Applies to