C# Class Google.Api.Gax.PollSettings

Settings controlling repeated polling, for example when waiting for a long-running operation to complete.
Datei anzeigen Open project: googleapis/gax-dotnet Class Usage Examples

Public Methods

Method Description
PollSettings ( Expiration expiration, System.TimeSpan delay ) : System

Creates poll settings from the given expiration, delay and call settings.

Method Details

PollSettings() public method

Creates poll settings from the given expiration, delay and call settings.
public PollSettings ( Expiration expiration, System.TimeSpan delay ) : System
expiration Expiration The expiration to use in order to know when to stop polling. Must not be null.
delay System.TimeSpan The delay between RPC calls. Must be non-negative.
return System