The base class for all agents.
Name | Description | |
---|---|---|
ServiceRequested |
Occurs when a service is successfully requested. |
Name | Description | |
---|---|---|
Dispose |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
|
Dispose(bool disposing) | ||
GetAgentServiceInternal(System.Type service) | ||
GetAgentServiceInternalAsync(System.Type service) | ||
GetDescription |
Returns a human-friendly description of the agent's configuration. |
|
GetService<TService> |
Returns the requested agent service or throws an exception if it is not available. |
|
GetServiceAsync<TService> |
Returns the requested agent service or throws an exception if it is not available. |
|
OnServiceRequested(ServiceRequestedEventArgs e) |
Raises the ServiceRequested event. |
|
TryGetService<TService> |
Returns the requested agent service interface if it is supported; otherwise returns null (Nothing in Visual Basic). |
|
TryGetServiceAsync<TService> |
Returns the requested agent service interface if it is supported; otherwise returns null (Nothing in Visual Basic). |