\r\n

51Degrees Pipeline .NET  4.4

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 More...

Properties

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

Constructor & Destructor Documentation

◆ LazyLoadingConfiguration()

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

Constructor

Parameters
propertyTimeoutMs - 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.
cancellationToken - 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.

Property Documentation

◆ CancellationToken

CancellationToken? FiftyOne.Pipeline.Engines.Configuration.LazyLoadingConfiguration.CancellationToken
get set

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
get set

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.