SendGridClient.GetGlobalSuppressionAsync(String, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get the global suppression
public virtual System.Threading.Tasks.Task<Azure.Connectors.Sdk.SendGrid.Models.GetGlobalSuppressResponse> GetGlobalSuppressionAsync(string email, System.Threading.CancellationToken cancellationToken = default);
abstract member GetGlobalSuppressionAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.SendGrid.Models.GetGlobalSuppressResponse>
override this.GetGlobalSuppressionAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.SendGrid.Models.GetGlobalSuppressResponse>
Public Overridable Function GetGlobalSuppressionAsync (email As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of GetGlobalSuppressResponse)
Parameters
- String
- cancellationToken
- CancellationToken
Cancellation token.
Returns
The Get the global suppression response.
Remarks
Get the global suppression