Interface IResourceCollection
Base interface for resource collection.
Inherited Members
System.IDisposable.Dispose()
Namespace: Microsoft.Graph.StatefulClient
Assembly: Microsoft.Graph.StatefulClient.dll
Syntax
public interface IResourceCollection : IDisposable
Properties
View SourceClient
Gets the client.
Declaration
IStatefulClient Client { get; }
Property Value
| Type | Description |
|---|---|
| IStatefulClient |
GraphClient
Gets the graph client.
Declaration
IGraphClient GraphClient { get; }
Property Value
| Type | Description |
|---|---|
| Microsoft.Graph.Core.Transport.IGraphClient |
GraphLogger
Gets the graph logger.
Declaration
IGraphLogger GraphLogger { get; }
Property Value
| Type | Description |
|---|---|
| Microsoft.Graph.Core.Telemetry.IGraphLogger |
Methods
View SourceTerminateAsync(TimeSpan)
Performs collection specific terminate tasks.
Declaration
Task<bool> TerminateAsync(TimeSpan timeout = default(TimeSpan))
Parameters
| Type | Name | Description |
|---|---|---|
| System.TimeSpan | timeout | The timeout. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<System.Boolean> | True if all instances terminated successfully, false otherwise. |
Extension Methods
See Also
System.IDisposable