ServiceBrokerClient.Rental<T> Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the ServiceBrokerClient.Rental<T> struct.
public:
Rental(Microsoft::ServiceHub::Framework::ServiceBrokerClient ^ client, Microsoft::VisualStudio::Threading::AsyncLazy<System::Object ^> ^ proxy, T value);
public Rental (Microsoft.ServiceHub.Framework.ServiceBrokerClient client, Microsoft.VisualStudio.Threading.AsyncLazy<object?> proxy, T? value);
new Microsoft.ServiceHub.Framework.ServiceBrokerClient.Rental<'T (requires 'T : null)> : Microsoft.ServiceHub.Framework.ServiceBrokerClient * Microsoft.VisualStudio.Threading.AsyncLazy<obj> * 'T -> Microsoft.ServiceHub.Framework.ServiceBrokerClient.Rental<'T (requires 'T : null)>
Public Sub New (client As ServiceBrokerClient, proxy As AsyncLazy(Of Object), value As T)
Parameters
- client
- ServiceBrokerClient
The owner.
- value
- T
The client proxy itself.