DurableOperationContext.InstanceId 属性

定义

获取此服务实例的服务 ID。Gets the service ID of this service instance.

public:
 static property Guid InstanceId { Guid get(); };
public static Guid InstanceId { get; }
member this.InstanceId : Guid
Public Shared ReadOnly Property InstanceId As Guid

属性值

Guid

一个包含服务 ID 的 GuidA Guid that contains the ID of the service.

适用于