PushNotificationManager.CreateChannelAsync(Guid) 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
WNS(Windows 푸시 알림 서비스)에서 푸시 채널을 비동기적으로 요청합니다.
참고
PushNotificationManager 클래스는 Singleton 패키지에 종속됩니다. 이러한 종속성 때문에 자체 포함 앱에서 이러한 API를 호출하는 경우 주의해야 할 특정 고려 사항이 있습니다. 자세한 정보 및 세부 정보는 추가 MSIX 패키지에 대한 종속성을 참조하세요.
public:
virtual IAsyncOperationWithProgress<PushNotificationCreateChannelResult ^, PushNotificationCreateChannelStatus> ^ CreateChannelAsync(Platform::Guid remoteId) = CreateChannelAsync;
IAsyncOperationWithProgress<PushNotificationCreateChannelResult, PushNotificationCreateChannelStatus> CreateChannelAsync(winrt::guid const& remoteId);
public IAsyncOperationWithProgress<PushNotificationCreateChannelResult,PushNotificationCreateChannelStatus> CreateChannelAsync(Guid remoteId);
function createChannelAsync(remoteId)
Public Function CreateChannelAsync (remoteId As Guid) As IAsyncOperationWithProgress(Of PushNotificationCreateChannelResult, PushNotificationCreateChannelStatus)
매개 변수
- remoteId
-
Guid
Platform::Guid
winrt::guid
만든 푸시 채널의 원격 식별자입니다. Azure AppId라고 하는 이 값은 AAD(Azure Active Directory)에 지정된 애플리케이션 ID와 일치하는 GUID입니다. 애플리케이션 ID를 가져오는 방법에 대한 자세한 내용은 포털을 사용하여 리소스에 액세스할 수 있는 Azure AD 애플리케이션 및 서비스 주체 만들기를 참조하세요.
반환
완료 시 PushNotificationCreateChannelResult 를 반환하는 진행률이 있는 비동기 작업입니다.
설명
대부분의 경우 채널 만들기 요청은 몇 초 안에 완료되어야 합니다. 이 작업은 네트워크 작업이므로 채널 요청 작업이 처음에는 실패할 수 있으며, 이는 플랫폼에 기본 제공된 재시도 논리를 트리거합니다. 이러한 경우 채널 요청 작업은 2~16분 정도 걸릴 수 있습니다.
적용 대상
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기