Partilhar via


RetryPolicy Class

Definition

Execution policy for an activity.

public class RetryPolicy : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.DataFactory.Models.RetryPolicy>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.DataFactory.Models.RetryPolicy>
public class RetryPolicy
type RetryPolicy = class
    interface IJsonModel<RetryPolicy>
    interface IPersistableModel<RetryPolicy>
type RetryPolicy = class
Public Class RetryPolicy
Implements IJsonModel(Of RetryPolicy), IPersistableModel(Of RetryPolicy)
Public Class RetryPolicy
Inheritance
RetryPolicy
Implements

Constructors

RetryPolicy()

Initializes a new instance of RetryPolicy.

Properties

Count

Maximum ordinary retry attempts. Default is 0. Type: integer (or Expression with resultType integer), minimum: 0.

IntervalInSeconds

Interval between retries in seconds. Default is 30.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<RetryPolicy>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<RetryPolicy>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<RetryPolicy>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RetryPolicy>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<RetryPolicy>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to