Class ServiceBrokerClient.Rental<T>
- Namespace
- Nerdbank.JsonRpc.BrokeredServices
- Assembly
- Nerdbank.JsonRpc.dll
A reference-counted rental whose disposal never invalidates other rentals.
public sealed class ServiceBrokerClient.Rental<T> : IDisposable where T : class
Type Parameters
TThe service interface.
- Inheritance
-
ServiceBrokerClient.Rental<T>
- Implements
- Inherited Members
Properties
Proxy
Gets the rented proxy, or null if unavailable. Do not retain it beyond this rental.
public T? Proxy { get; }
Property Value
- T
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()