JobRouterAdministrationClient.GetExceptionPolicies 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.
Overloads
GetExceptionPolicies(RequestContext) |
[Protocol Method] Retrieves existing exception policies.
|
GetExceptionPolicies(CancellationToken) |
Retrieves existing exception policies. |
GetExceptionPolicies(RequestContext)
[Protocol Method] Retrieves existing exception policies.
- This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
- Please try the simpler Azure.Communication.JobRouter.JobRouterAdministrationClient.GetExceptionPolicies(System.Nullable{System.Int32},System.Threading.CancellationToken) convenience overload with strongly typed models first.
public virtual Azure.Pageable<BinaryData> GetExceptionPolicies (Azure.RequestContext context);
abstract member GetExceptionPolicies : Azure.RequestContext -> Azure.Pageable<BinaryData>
override this.GetExceptionPolicies : Azure.RequestContext -> Azure.Pageable<BinaryData>
Public Overridable Function GetExceptionPolicies (context As RequestContext) As Pageable(Of BinaryData)
Parameters
- context
- RequestContext
The request context, which can override default behaviors of the client pipeline on a per-call basis.
Returns
The Pageable<T> from the service containing a list of BinaryData objects. Details of the body schema for each item in the collection are in the Remarks section below.
Exceptions
Service returned a non-success status code.
Applies to
GetExceptionPolicies(CancellationToken)
Retrieves existing exception policies.
public virtual Azure.Pageable<Azure.Communication.JobRouter.ExceptionPolicy> GetExceptionPolicies (System.Threading.CancellationToken cancellationToken = default);
abstract member GetExceptionPolicies : System.Threading.CancellationToken -> Azure.Pageable<Azure.Communication.JobRouter.ExceptionPolicy>
override this.GetExceptionPolicies : System.Threading.CancellationToken -> Azure.Pageable<Azure.Communication.JobRouter.ExceptionPolicy>
Public Overridable Function GetExceptionPolicies (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ExceptionPolicy)
Parameters
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
The server returned an error. See Message for details returned from the server.
Applies to
Azure SDK for .NET