Sprache

CoreStrings.ClientProjectionCapturingConstantInMethodArgument Methode

Definition

Die Clientprojektion enthält einen Verweis auf einen konstanten Ausdruck von '{constantType}', der als Argument an die Methode '{methodName}' übergeben wird. Dies könnte möglicherweise zu einem Speicherverlust führen; Erwägen Sie stattdessen, diese Konstante einer lokalen Variablen zuzuweisen und stattdessen die Variable in der Abfrage zu verwenden. Weitere Informationen und Beispiele finden Sie unter https://go.microsoft.com/fwlink/?linkid=2103067.

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

Parameter

constantType
Object
methodName
Object

Gibt zurück

Gilt für: