FabricClient.ServiceGroupManagementClient.CreateServiceGroupAsync 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
CreateServiceGroupAsync(ServiceGroupDescription) |
Asynchronously creates a service group from the given ServiceGroupDescription. |
CreateServiceGroupAsync(ServiceGroupDescription, TimeSpan, CancellationToken) |
Asynchronously creates a service group from the given ServiceGroupDescription with the provided timeout and CancellationToken. |
CreateServiceGroupAsync(ServiceGroupDescription)
Asynchronously creates a service group from the given ServiceGroupDescription.
public System.Threading.Tasks.Task CreateServiceGroupAsync (System.Fabric.Description.ServiceGroupDescription description);
member this.CreateServiceGroupAsync : System.Fabric.Description.ServiceGroupDescription -> System.Threading.Tasks.Task
Public Function CreateServiceGroupAsync (description As ServiceGroupDescription) As Task
Parameters
- description
- ServiceGroupDescription
The ServiceGroupDescription which describes the group and its members.
Returns
The task representing the asynchronous service group creation operation.
Applies to
CreateServiceGroupAsync(ServiceGroupDescription, TimeSpan, CancellationToken)
Asynchronously creates a service group from the given ServiceGroupDescription with the provided timeout and CancellationToken.
public System.Threading.Tasks.Task CreateServiceGroupAsync (System.Fabric.Description.ServiceGroupDescription description, TimeSpan timeout, System.Threading.CancellationToken cancellationToken);
member this.CreateServiceGroupAsync : System.Fabric.Description.ServiceGroupDescription * TimeSpan * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function CreateServiceGroupAsync (description As ServiceGroupDescription, timeout As TimeSpan, cancellationToken As CancellationToken) As Task
Parameters
- description
- ServiceGroupDescription
The ServiceGroupDescription which describes the group and its members.
- timeout
- TimeSpan
Timespan that defines the maximum amount of time Service Fabric will allow this operation to continue before returning a Timeout Exception.
- cancellationToken
- CancellationToken
The CancellationToken object that the operation is observing. It can be used to send a notification that the operation should be canceled. Note that cancellation is advisory and that the operation may still be completed even if it is canceled.
Returns
The task representing the asynchronous service group creation operation.
Applies to
Azure SDK for .NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기