다음을 통해 공유


AppServiceResponse 클래스

정의

요청에 대한 응답으로 앱 서비스가 보낸 메시지를 나타냅니다. App Services는 유니버설 Windows 앱에서 다른 유니버설 Windows 앱으로 서비스를 제공할 수 있도록 하여 앱 간 통신을 가능하게 합니다.

public ref class AppServiceResponse sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class AppServiceResponse final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class AppServiceResponse final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class AppServiceResponse
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class AppServiceResponse
Public NotInheritable Class AppServiceResponse
상속
Object Platform::Object IInspectable AppServiceResponse
특성

Windows 요구 사항

디바이스 패밀리
Windows 10 (10.0.10240.0에서 도입되었습니다.)
API contract
Windows.Foundation.UniversalApiContract (v1.0에서 도입되었습니다.)

설명

JavaScript에서 이 클래스의 instance AppServiceConnection.SendMessageAsync 메서드가 반환하는 작업에 대해 구현하는 이벤트 처리기에 전달됩니다.

속성

Message

앱 서비스의 응답에 포함된 메시지를 가져옵니다.

Status

앱 서비스에서 응답에 대한 상태 가져옵니다.

적용 대상

추가 정보