Megosztás a következőn keresztül:


ActorId.CreateRandom Method

Definition

Create a new instance of the ActorId of kind Long with a random Int64 id value.

public static Microsoft.ServiceFabric.Actors.ActorId CreateRandom ();
static member CreateRandom : unit -> Microsoft.ServiceFabric.Actors.ActorId
Public Shared Function CreateRandom () As ActorId

Returns

A new ActorId object.

Remarks

This method is thread-safe and generates a new random ActorId every time it is called.

Applies to