Bagikan melalui


CoreStrings.ClientProjectionCapturingConstantInMethodInstance Metode

Definisi

Proyeksi klien berisi referensi ke ekspresi konstanta '{constantType}' melalui metode instans '{methodName}'. Hal ini berpotensi menyebabkan kebocoran memori; pertimbangkan untuk membuat metode statis sehingga tidak menangkap konstanta dalam instans. Lihat https://go.microsoft.com/fwlink/?linkid=2103067 untuk informasi yang lebih lengkap beserta contohnya.

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

Parameter

constantType
Object
methodName
Object

Mengembalikan

Berlaku untuk