Get the reason why the object has been deactivated.
| C# | Visual Basic | Visual C++ |
public ServiceProvider..::.ServiceProviderObjectDeactivatedEventArgs..::.ServiceProviderObjectDeactivatedReason getReason { get; }
Public ReadOnly Property getReason As ServiceProvider..::.ServiceProviderObjectDeactivatedEventArgs..::.ServiceProviderObjectDeactivatedReason
Assembly: ServiceProvider (Module: ServiceProvider)