ServiceRegistrationRestClient.SetAsync 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.
Overloads
SetAsync(String, Version, String) | |
SetAsync(String, String, String, CancellationToken) | |
SetAsync(String, String, Version, CancellationToken) |
SetAsync(String, Version, String)
public System.Threading.Tasks.Task SetAsync (string serviceName, Version serviceVersion, string serviceRegistration);
abstract member SetAsync : string * Version * string -> System.Threading.Tasks.Task
override this.SetAsync : string * Version * string -> System.Threading.Tasks.Task
Public Function SetAsync (serviceName As String, serviceVersion As Version, serviceRegistration As String) As Task
Parameters
- serviceName
- String
- serviceVersion
- Version
- serviceRegistration
- String
Returns
Implements
Applies to
SetAsync(String, String, String, CancellationToken)
public System.Threading.Tasks.Task SetAsync (string serviceName, string serviceRegistration, string serviceVersion = "", System.Threading.CancellationToken token = null);
member this.SetAsync : string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function SetAsync (serviceName As String, serviceRegistration As String, Optional serviceVersion As String = "", Optional token As CancellationToken = null) As Task
Parameters
- serviceName
- String
- serviceRegistration
- String
- serviceVersion
- String
- token
- CancellationToken
Returns
Applies to
SetAsync(String, String, Version, CancellationToken)
public System.Threading.Tasks.Task SetAsync (string serviceName, string serviceRegistration, Version serviceVersion, System.Threading.CancellationToken token);
member this.SetAsync : string * string * Version * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function SetAsync (serviceName As String, serviceRegistration As String, serviceVersion As Version, token As CancellationToken) As Task
Parameters
- serviceName
- String
- serviceRegistration
- String
- serviceVersion
- Version
- token
- CancellationToken
Returns
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for