Freigeben über


ProviderTimeout Element (ADF)

Specifies the timeout for a hosted event provider.

Syntax

<Providers>
    <HostedProvider>
    ...
        <ProviderTimeout>

Element Characteristics

Characteristic Description

Data type

duration.

Default value

5 minutes (PT5M).

Occurrence

Optional once per HostedProvider Element (ADF).

Updates

Can be added and deleted when updating the application.

Element Relationships

Relationship Elements

Parent element

HostedProvider Element (ADF)

Child elements

None.

Hinweise

Use the ProviderTimeout element to provide a custom timeout for a hosted event provider. If the hosted event provider does not return within the timeout period, the thread the hosted event provider is running on is terminated and the hosted event provider is disabled. You must enable the event provider to restart it.

Beispiel

This example shows how to set the ProviderTimeout value to 2 minutes.

<ProviderTimeout>PT2M</ProviderTimeout>

Siehe auch

Andere Ressourcen

Aktivieren und Deaktivieren von Instanzen, Anwendungen oder Komponenten
Definieren von Ereignisanbietern

Hilfe und Informationen

Informationsquellen für SQL Server 2005