CompilationSection.BatchTimeout Eigenschap

Definitie

Hiermee haalt u de time-outperiode in seconden op of stelt u deze in voor batchcompilatie.

public:
 property TimeSpan BatchTimeout { TimeSpan get(); void set(TimeSpan value); };
[System.ComponentModel.TypeConverter(typeof(System.Configuration.TimeSpanSecondsOrInfiniteConverter))]
[System.Configuration.ConfigurationProperty("batchTimeout", DefaultValue="00:15:00")]
[System.Configuration.TimeSpanValidator(MaxValueString="10675199.02:48:05.4775807", MinValueString="00:00:00")]
public TimeSpan BatchTimeout { get; set; }
[<System.ComponentModel.TypeConverter(typeof(System.Configuration.TimeSpanSecondsOrInfiniteConverter))>]
[<System.Configuration.ConfigurationProperty("batchTimeout", DefaultValue="00:15:00")>]
[<System.Configuration.TimeSpanValidator(MaxValueString="10675199.02:48:05.4775807", MinValueString="00:00:00")>]
member this.BatchTimeout : TimeSpan with get, set
Public Property BatchTimeout As TimeSpan

Waarde van eigenschap

Een waarde die aangeeft hoeveel tijd in seconden is verleend voor batchcompilatie.

Kenmerken

Voorbeelden

In het volgende codevoorbeeld ziet u hoe u de BatchTimeout eigenschap gebruikt. Dit codevoorbeeld maakt deel uit van een groter voorbeeld voor de CompilationSection klasse.

// Display BatchTimeout property.
Console.WriteLine("BatchTimeout: {0}",
  configSection.BatchTimeout);

// Set BatchTimeout property.
configSection.BatchTimeout = TimeSpan.FromMinutes(15);
' Display BatchTimeout property.
Console.WriteLine("BatchTimeout: {0}", _
 configSection.BatchTimeout)

' Set BatchTimeout property.
configSection.BatchTimeout = TimeSpan.FromMinutes(15)

Opmerkingen

Geeft de time-outperiode in seconden aan voor batchcompilatie. Als de compilatie niet binnen de time-outperiode kan worden voltooid, keert de compiler terug naar de compilatiemodus voor de huidige pagina.

Van toepassing op