CoreStrings.ClientProjectionCapturingConstantInMethodInstance Method

Definition

The client projection contains a reference to a constant expression of '{constantType}' through the instance method '{methodName}'. This could potentially cause a memory leak; consider making the method static so that it does not capture constant in the instance. See https://go.microsoft.com/fwlink/?linkid=2103067 for more information and examples.

public static string ClientProjectionCapturingConstantInMethodInstance (object constantType, object methodName);
public static string ClientProjectionCapturingConstantInMethodInstance (object? constantType, object? methodName);
static member ClientProjectionCapturingConstantInMethodInstance : obj * obj -> string
Public Shared Function ClientProjectionCapturingConstantInMethodInstance (constantType As Object, methodName As Object) As String

Parameters

constantType
Object
methodName
Object

Returns

Applies to