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

Topic.DefinitionStages.WithDeleteOnIdle Interface

public static interface Topic.DefinitionStages.WithDeleteOnIdle

The stage of the topic definition allowing to define auto delete behaviour.

Method Summary

Modifier and Type Method and Description
abstract WithCreate withDeleteOnIdleDurationInMinutes(int durationInMinutes)

The idle interval after which the topic is automatically deleted.

Method Details

withDeleteOnIdleDurationInMinutes

public abstract Topic.DefinitionStages.WithCreate withDeleteOnIdleDurationInMinutes(int durationInMinutes)

The idle interval after which the topic is automatically deleted. Note: unless it is explicitly overridden the default delete on idle duration is infinite (TimeSpan.Max).

Parameters:

durationInMinutes - idle duration in minutes

Returns:

the next stage of topic definition

Applies to