Lingua

CoreStrings.ClientProjectionCapturingConstantInMethodInstance Metodo

Definizione

La proiezione client contiene un riferimento a un'espressione costante '{constantType}' tramite il metodo di istanza '{methodName}'. Ciò potrebbe causare una perdita di memoria; prendere in considerazione la possibilità di rendere statico il metodo in modo che non acquisisca costante nell'istanza di . Per altre informazioni ed esempi, vedere 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

Parametri

constantType
Object
methodName
Object

Valori restituiti

Si applica a