語言

CoreStrings.ClientProjectionCapturingConstantInMethodArgument 方法

定義

客戶端投影包含一個常數表達式 '{constantType}' 的參考,該表達式作為參數傳遞給方法「{methodName}」。 這可能導致記憶體洩漏;考慮將此常數指派給一個本地變數,並在查詢中使用該變數。 如需詳細資訊和範例,請參閱 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

參數

constantType
Object
methodName
Object

傳回

適用於