https://learn.microsoft.com/en-us/dotnet/api/system.servicemodel.channels.communicationobject.onbeginclose?view=netframework-4.8.1
CommunicationObject.OnBeginClose(TimeSpan, AsyncCallback, Object) Method...
Inserts processing after a communication object transitions to the closing state due to the invocation of an asynchronous close operation.
timespanobjectmethod
https://learn.microsoft.com/pt-pt/dotnet/api/system.servicemodel.servicehostbase.onbeginclose?view=netframework-4.8.1
ServiceHostBase.OnBeginClose(TimeSpan, AsyncCallback, Object) Method (System.ServiceModel) |...
Begins an asynchronous operation invoked on the close of the service host.
timespanobjectmethodsystem