다음을 통해 공유


MobileBroadbandDeviceServiceDataSession.DataReceived 이벤트

정의

WriteDataAsync 메서드가 호출된 후 MobileBroadbandDeviceServiceDataSession 개체에서 데이터를 수신했음을 나타내는 이벤트입니다.

// Register
event_token DataReceived(TypedEventHandler<MobileBroadbandDeviceServiceDataSession, MobileBroadbandDeviceServiceDataReceivedEventArgs const&> const& handler) const;

// Revoke with event_token
void DataReceived(event_token const* cookie) const;

// Revoke with event_revoker
MobileBroadbandDeviceServiceDataSession::DataReceived_revoker DataReceived(auto_revoke_t, TypedEventHandler<MobileBroadbandDeviceServiceDataSession, MobileBroadbandDeviceServiceDataReceivedEventArgs const&> const& handler) const;
public event TypedEventHandler<MobileBroadbandDeviceServiceDataSession,MobileBroadbandDeviceServiceDataReceivedEventArgs> DataReceived;
function onDataReceived(eventArgs) { /* Your code */ }
mobileBroadbandDeviceServiceDataSession.addEventListener("datareceived", onDataReceived);
mobileBroadbandDeviceServiceDataSession.removeEventListener("datareceived", onDataReceived);
- or -
mobileBroadbandDeviceServiceDataSession.ondatareceived = onDataReceived;
Public Custom Event DataReceived As TypedEventHandler(Of MobileBroadbandDeviceServiceDataSession, MobileBroadbandDeviceServiceDataReceivedEventArgs) 

이벤트 유형

Windows 요구 사항

앱 기능
cellularDeviceControl cellularDeviceIdentity

적용 대상

추가 정보