Freigeben über


HubResource.GetViewResourceFormatAsync Methode

Definition

Ruft eine Ansicht im Hub ab.

  • Anforderungspfad/Abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/views/{viewName}
  • Vorgangs-IdViews_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CustomerInsights.ViewResourceFormatResource>> GetViewResourceFormatAsync (string viewName, string userId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetViewResourceFormatAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CustomerInsights.ViewResourceFormatResource>>
override this.GetViewResourceFormatAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CustomerInsights.ViewResourceFormatResource>>
Public Overridable Function GetViewResourceFormatAsync (viewName As String, userId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ViewResourceFormatResource))

Parameter

viewName
String

Der Name der Sicht.

userId
String

Die Benutzer-ID. Verwenden Sie * zum Abrufen der Ansicht auf Hubebene.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

viewName ist eine leere Zeichenfolge und wurde erwartet, dass sie nicht leer ist.

viewName oder userId ist NULL.

Gilt für: