Edit

Share via


SystemTargetGrainId.TryParse(GrainId, SystemTargetGrainId) Method

Definition

Converts the provided GrainId to a SystemTargetGrainId. A return value indicates whether the operation succeeded.

public static bool TryParse (Orleans.Runtime.GrainId grainId, out Orleans.Runtime.SystemTargetGrainId systemTargetId);
static member TryParse : Orleans.Runtime.GrainId * SystemTargetGrainId -> bool
Public Shared Function TryParse (grainId As GrainId, ByRef systemTargetId As SystemTargetGrainId) As Boolean

Parameters

grainId
GrainId

The grain id.

systemTargetId
SystemTargetGrainId

The resulting system target id.

Returns

true if the value is a system target grain id, false otherwise.

Applies to