51Degrees Pipeline for .NET

FiftyOne.Pipeline.Engines.Configuration.LazyLoadingConfiguration Class Reference

Detailed Description

Used to store configuration values relating to lazy loading See the Specification

.

Public Member Functions

 LazyLoadingConfiguration (int propertyTimeoutMs=Constants.LAZY_LOADING_DEFAULT_TIMEOUT_MS, CancellationToken? cancellationToken=null)
 Constructor.

Properties

int PropertyTimeoutMs [get, set]
 The timeout in milliseconds to use when waiting for processing to complete in order to retrieve property values.
CancellationToken? CancellationToken [get, set]
 The System.Threading.CancellationToken to use when waiting for processing to complete in order to retrieve property values.

Constructor & Destructor Documentation

◆ LazyLoadingConfiguration()

FiftyOne.Pipeline.Engines.Configuration.LazyLoadingConfiguration.LazyLoadingConfiguration ( int propertyTimeoutMs = Constants::LAZY_LOADING_DEFAULT_TIMEOUT_MS,
CancellationToken? cancellationToken = null )

Constructor.

Parameters
propertyTimeoutMsThe timeout in milliseconds to use when waiting for processing to complete in order to retrieve property values. If the timeout is exceeded then a TimeoutException will be thrown.
cancellationTokenThe System.Threading.CancellationToken to use when waiting for processing to complete in order to retrieve property values. If the cancellation token is triggered then the call to the property will return immediately with a null value.

Property Documentation

◆ CancellationToken

CancellationToken? FiftyOne.Pipeline.Engines.Configuration.LazyLoadingConfiguration.CancellationToken
getset

The System.Threading.CancellationToken to use when waiting for processing to complete in order to retrieve property values.

If the cancellation token is triggered then the call to the property will return immediately with a null value.

◆ PropertyTimeoutMs

int FiftyOne.Pipeline.Engines.Configuration.LazyLoadingConfiguration.PropertyTimeoutMs
getset

The timeout in milliseconds to use when waiting for processing to complete in order to retrieve property values.

If the timeout is exceeded then a TimeoutException will be thrown.