ServiceRpcDescriptor.WithJoinableTaskFactory(JoinableTaskFactory) Method
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.
Returns an instance of ServiceRpcDescriptor that resembles this one, but with the JoinableTaskFactory property set to the specified value.
public Microsoft.ServiceHub.Framework.ServiceRpcDescriptor WithJoinableTaskFactory (Microsoft.VisualStudio.Threading.JoinableTaskFactory? joinableTaskFactory);
member this.WithJoinableTaskFactory : Microsoft.VisualStudio.Threading.JoinableTaskFactory -> Microsoft.ServiceHub.Framework.ServiceRpcDescriptor
Public Function WithJoinableTaskFactory (joinableTaskFactory As JoinableTaskFactory) As ServiceRpcDescriptor
Parameters
- joinableTaskFactory
- JoinableTaskFactory
The value for the modified property..
Returns
A clone of this instance, with the property changed. Or this same instance if the property already matches.