WebSocketReceiveResult Konstruktor
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Membuat instans WebSocketReceiveResult.
Overload
WebSocketReceiveResult(Int32, WebSocketMessageType, Boolean) |
Membuat instans WebSocketReceiveResult kelas . |
WebSocketReceiveResult(Int32, WebSocketMessageType, Boolean, Nullable<WebSocketCloseStatus>, String) |
Membuat instans WebSocketReceiveResult kelas . |
WebSocketReceiveResult(Int32, WebSocketMessageType, Boolean)
- Sumber:
- WebSocketReceiveResult.cs
- Sumber:
- WebSocketReceiveResult.cs
- Sumber:
- WebSocketReceiveResult.cs
Membuat instans WebSocketReceiveResult kelas .
public:
WebSocketReceiveResult(int count, System::Net::WebSockets::WebSocketMessageType messageType, bool endOfMessage);
public WebSocketReceiveResult (int count, System.Net.WebSockets.WebSocketMessageType messageType, bool endOfMessage);
new System.Net.WebSockets.WebSocketReceiveResult : int * System.Net.WebSockets.WebSocketMessageType * bool -> System.Net.WebSockets.WebSocketReceiveResult
Public Sub New (count As Integer, messageType As WebSocketMessageType, endOfMessage As Boolean)
Parameter
- count
- Int32
Jumlah byte yang diterima.
- messageType
- WebSocketMessageType
Jenis pesan yang diterima.
- endOfMessage
- Boolean
Menunjukkan apakah ini adalah pesan akhir.
Berlaku untuk
WebSocketReceiveResult(Int32, WebSocketMessageType, Boolean, Nullable<WebSocketCloseStatus>, String)
- Sumber:
- WebSocketReceiveResult.cs
- Sumber:
- WebSocketReceiveResult.cs
- Sumber:
- WebSocketReceiveResult.cs
Membuat instans WebSocketReceiveResult kelas .
public:
WebSocketReceiveResult(int count, System::Net::WebSockets::WebSocketMessageType messageType, bool endOfMessage, Nullable<System::Net::WebSockets::WebSocketCloseStatus> closeStatus, System::String ^ closeStatusDescription);
public WebSocketReceiveResult (int count, System.Net.WebSockets.WebSocketMessageType messageType, bool endOfMessage, System.Net.WebSockets.WebSocketCloseStatus? closeStatus, string? closeStatusDescription);
public WebSocketReceiveResult (int count, System.Net.WebSockets.WebSocketMessageType messageType, bool endOfMessage, System.Net.WebSockets.WebSocketCloseStatus? closeStatus, string closeStatusDescription);
new System.Net.WebSockets.WebSocketReceiveResult : int * System.Net.WebSockets.WebSocketMessageType * bool * Nullable<System.Net.WebSockets.WebSocketCloseStatus> * string -> System.Net.WebSockets.WebSocketReceiveResult
Public Sub New (count As Integer, messageType As WebSocketMessageType, endOfMessage As Boolean, closeStatus As Nullable(Of WebSocketCloseStatus), closeStatusDescription As String)
Parameter
- count
- Int32
Jumlah byte yang diterima.
- messageType
- WebSocketMessageType
Jenis pesan yang diterima.
- endOfMessage
- Boolean
Menunjukkan apakah ini adalah pesan akhir.
- closeStatus
- Nullable<WebSocketCloseStatus>
WebSocketCloseStatus Menunjukkan koneksi.
- closeStatusDescription
- String
Penjabaran dari closeStatus
.