Esta documentación está archivada y no tiene mantenimiento.

ServiceHostBase.OnBeginClose (Método)

Begins an asynchronous operation invoked on the close of the service host.

Espacio de nombres: System.ServiceModel
Ensamblado: System.ServiceModel (en system.servicemodel.dll)

protected override sealed IAsyncResult OnBeginClose (
	TimeSpan timeout,
	AsyncCallback callback,
	Object state
)
protected final IAsyncResult OnBeginClose (
	TimeSpan timeout, 
	AsyncCallback callback, 
	Object state
)
protected override final function OnBeginClose (
	timeout : TimeSpan, 
	callback : AsyncCallback, 
	state : Object
) : IAsyncResult
No aplicable.

Parámetros

timeout

The Timespan that specifies how long the on-close operation has to complete before timing out.

callback

The AsyncCallback delegate that receives the notification of the asynchronous operation on-close completion.

state

An object, specified by the application, that contains state information associated with the asynchronous on-close operation.

Valor devuelto

The IAsyncResult that references the asynchronous on-close operation.

Windows 98, Windows 2000 Service Pack 4, Windows CE, Windows Millennium, Windows Mobile para Pocket PC, Windows Mobile para Smartphone, Windows Server 2003, Windows XP Media Center, Windows XP Professional x64, Windows XP SP2, Windows XP Starter

Microsoft .NET Framework 3.0 es compatible con Windows Vista, Microsoft Windows XP SP2 y Windows Server 2003 SP1.

.NET Framework

Compatible con: 3.0
Mostrar: