Redigera

Dela via


AttributeGrainInterfaceTypeProvider.TryGetGrainInterfaceType Method

Definition

Gets the GrainInterfaceType corresponding to the specified type.

public bool TryGetGrainInterfaceType (Type type, out Orleans.Runtime.GrainInterfaceType grainInterfaceType);
abstract member TryGetGrainInterfaceType : Type * GrainInterfaceType -> bool
override this.TryGetGrainInterfaceType : Type * GrainInterfaceType -> bool
Public Function TryGetGrainInterfaceType (type As Type, ByRef grainInterfaceType As GrainInterfaceType) As Boolean

Parameters

type
Type

The grain interface type instance.

grainInterfaceType
GrainInterfaceType

The resulting grain interface type identifier.

Returns

true if a GrainInterfaceType corresponding to the provided type was found, otherwise false.

Implements

Applies to