Bagikan melalui


ConnectionDelegate Delegasikan

Definisi

Fungsi yang dapat memproses koneksi.

public delegate System::Threading::Tasks::Task ^ ConnectionDelegate(ConnectionContext ^ connection);
public delegate System.Threading.Tasks.Task ConnectionDelegate(ConnectionContext connection);
type ConnectionDelegate = delegate of ConnectionContext -> Task
Public Delegate Function ConnectionDelegate(connection As ConnectionContext) As Task 

Parameter

connection
ConnectionContext

mewakili ConnectionContext koneksi.

Tampilkan Nilai

Task yang mewakili masa pakai koneksi. Ketika tugas selesai, koneksi akan ditutup.

Berlaku untuk