다음을 통해 공유


RawNotification.ChannelId 속성

정의

원시 알림의 채널 ID를 가져옵니다.

public:
 property Platform::String ^ ChannelId { Platform::String ^ get(); };
winrt::hstring ChannelId();
public string ChannelId { get; }
var string = rawNotification.channelId;
Public ReadOnly Property ChannelId As String

속성 값

String

Platform::String

winrt::hstring

앱 서버에서 설정한 대로 앱 정의 채널 ID를 포함하는 문자열입니다.

Windows 요구 사항

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

설명

CreateRawPushNotificationChannelWithAlternateKeyForApplicationAsync에서 만든 채널을 통해 전송된 알림에만 유효합니다. CreatePushNotificationChannelForApplicationAsync를 사용하여 만든 채널을 통해 알림이 전송되면 null이 됩니다.

적용 대상