Edit

Share via


IGrainExtensionMap.TryGetExtension(Int32, IGrainExtension) Method

Definition

Gets the extension from this instance if it is available.

public bool TryGetExtension (int interfaceId, out Orleans.Runtime.IGrainExtension extension);
abstract member TryGetExtension : int * IGrainExtension -> bool
Public Function TryGetExtension (interfaceId As Integer, ByRef extension As IGrainExtension) As Boolean

Parameters

interfaceId
Int32

The interface id.

extension
IGrainExtension

The extension.

Returns

true if the extension is found, false otherwise.

Applies to