Bahasa

CoreStrings.ClientProjectionCapturingConstantInMethodInstance Metode

Definisi

Proyeksi klien berisi referensi ke ekspresi konstan '{constantType}' melalui metode instans '{methodName}'. 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 dan contoh selengkapnya.

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