次の方法で共有


TopicTypeCollection.GetAsync(String, CancellationToken) メソッド

定義

トピックの種類に関する情報を取得します。

  • 要求パス/プロバイダー/Microsoft.EventGrid/topicTypes/{topicTypeName}
  • 操作IdTopicTypes_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.EventGrid.TopicTypeResource>> GetAsync (string topicTypeName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.EventGrid.TopicTypeResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.EventGrid.TopicTypeResource>>
Public Overridable Function GetAsync (topicTypeName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of TopicTypeResource))

パラメーター

topicTypeName
String

トピックの種類の名前。

cancellationToken
CancellationToken

使用する取り消しトークン。

戻り値

例外

topicTypeName は空の文字列であり、空でないと予想されていました。

topicTypeName が null です。

適用対象