CoreStrings.ClientProjectionCapturingConstantInMethodInstance 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
客戶端投影透過實例方法「{methodName}' 引用常數表達式 '{constantType}'。 這可能導致記憶體洩漏;考慮將方法設為靜態,避免在實例中捕捉常數。 如需詳細資訊和範例,請參閱 https://go.microsoft.com/fwlink/?linkid=2103067。
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
參數
- constantType
- Object
- methodName
- Object