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

EventGridClient 类

定义

public class EventGridClient : Microsoft.Rest.ServiceClient<Microsoft.Azure.EventGrid.EventGridClient>, IDisposable, Microsoft.Azure.EventGrid.IEventGridClient, Microsoft.Rest.Azure.IAzureClient
type EventGridClient = class
    inherit ServiceClient<EventGridClient>
    interface IEventGridClient
    interface IDisposable
    interface IAzureClient
Public Class EventGridClient
Inherits ServiceClient(Of EventGridClient)
Implements IAzureClient, IDisposable, IEventGridClient
继承
实现

构造函数

EventGridClient(DelegatingHandler[])
EventGridClient(HttpClient, Boolean)
EventGridClient(HttpClientHandler, DelegatingHandler[])
EventGridClient(ServiceClientCredentials, DelegatingHandler[])
EventGridClient(ServiceClientCredentials, HttpClient, Boolean)
EventGridClient(ServiceClientCredentials, HttpClientHandler, DelegatingHandler[])

属性

AcceptLanguage
ApiVersion
Credentials
DeserializationSettings
FirstMessageHandler (继承自 ServiceClient<T>)
GenerateClientRequestId
HttpClient (继承自 ServiceClient<T>)
HttpClientHandler (继承自 ServiceClient<T>)
HttpMessageHandlers (继承自 ServiceClient<T>)
LongRunningOperationRetryTimeout
SerializationSettings
UserAgent (继承自 ServiceClient<T>)

方法

CreateHttpHandlerPipeline(HttpClientHandler, DelegatingHandler[]) (继承自 ServiceClient<T>)
Dispose() (继承自 ServiceClient<T>)
Dispose(Boolean) (继承自 ServiceClient<T>)
InitializeHttpClient(HttpClient, HttpClientHandler, DelegatingHandler[]) (继承自 ServiceClient<T>)
InitializeHttpClient(HttpClientHandler, DelegatingHandler[]) (继承自 ServiceClient<T>)
PublishEventsWithHttpMessagesAsync(String, IList<EventGridEvent>, Dictionary<String,List<String>>, CancellationToken)
SetRetryPolicy(RetryPolicy) (继承自 ServiceClient<T>)
SetUserAgent(String) (继承自 ServiceClient<T>)
SetUserAgent(String, String) (继承自 ServiceClient<T>)

扩展方法

PublishEventsAsync(IEventGridClient, String, IList<EventGridEvent>, CancellationToken)
GetLongRunningOperationResultAsync(IAzureClient, AzureOperationResponse, Dictionary<String,List<String>>, CancellationToken)

获取长时间运行的操作的操作结果。

GetLongRunningOperationResultAsync<THeader>(IAzureClient, AzureOperationHeaderResponse<THeader>, Dictionary<String,List<String>>, CancellationToken)

获取长时间运行的操作的操作结果。

GetLongRunningOperationResultAsync<TBody>(IAzureClient, AzureOperationResponse<TBody>, Dictionary<String,List<String>>, CancellationToken)

获取长时间运行的操作的操作结果。

GetLongRunningOperationResultAsync<TBody,THeader>(IAzureClient, AzureOperationResponse<TBody,THeader>, Dictionary<String,List<String>>, CancellationToken)

获取长时间运行的操作的操作结果。

GetPostOrDeleteOperationResultAsync(IAzureClient, AzureOperationResponse, Dictionary<String,List<String>>, CancellationToken)

获取 DELETE 和 POST 操作的操作结果。 (弃用,请使用 GetLongRunningOperationResultAsync)

GetPostOrDeleteOperationResultAsync<THeader>(IAzureClient, AzureOperationHeaderResponse<THeader>, Dictionary<String,List<String>>, CancellationToken)

获取 DELETE 和 POST 操作的操作结果。 (弃用,请使用 GetLongRunningOperationResultAsync)

GetPostOrDeleteOperationResultAsync<TBody>(IAzureClient, AzureOperationResponse<TBody>, Dictionary<String,List<String>>, CancellationToken)

获取 DELETE 和 POST 操作的操作结果。 (弃用,请使用 GetLongRunningOperationResultAsync)

GetPostOrDeleteOperationResultAsync<TBody,THeader>(IAzureClient, AzureOperationResponse<TBody,THeader>, Dictionary<String,List<String>>, CancellationToken)

获取 DELETE 和 POST 操作的操作结果。 (弃用,请使用 GetLongRunningOperationResultAsync)

GetPutOrPatchOperationResultAsync(IAzureClient, AzureOperationResponse, Dictionary<String,List<String>>, CancellationToken)

获取 PUT 和 PATCH 操作的操作结果。 (弃用,请使用 GetLongRunningOperationResultAsync)

GetPutOrPatchOperationResultAsync<TBody>(IAzureClient, AzureOperationResponse<TBody>, Dictionary<String,List<String>>, CancellationToken)

获取 PUT 和 PATCH 操作的操作结果。 (弃用,请使用 GetLongRunningOperationResultAsync)

GetPutOrPatchOperationResultAsync<TBody,THeader>(IAzureClient, AzureOperationResponse<TBody,THeader>, Dictionary<String,List<String>>, CancellationToken)

获取 PUT 和 PATCH 操作的操作结果。 (弃用,请使用 GetLongRunningOperationResultAsync)

适用于