次の方法で共有


ChatMessageTransport クラス

定義

メッセージを送受信するためのトランスポートの ID を表します。 物理的には、チャット メッセージ トランスポートは電話の SIM スロットです。

public ref class ChatMessageTransport 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 ChatMessageTransport 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 ChatMessageTransport
Public NotInheritable Class ChatMessageTransport
継承
Object Platform::Object IInspectable ChatMessageTransport
属性

Windows の要件

デバイス ファミリ
Windows 10 (10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox で導入)
API contract
Windows.Foundation.UniversalApiContract (v1.0 で導入)
アプリの機能
chat chatSystem smsSend

注釈

GetTransportsAsync を呼び出して、このクラスのインスタンスを取得します。

プロパティ

Configuration

メッセージ トランスポートの構成を取得します。

IsActive

メッセージング トランスポートがアクティブかどうかを示すブール値を取得します。

IsAppSetAsNotificationProvider

現在のアプリケーションがメッセージング通知プロバイダーとして設定されているかどうかを示すブール値を取得します。

TransportFriendlyName

メッセージング トランスポートを識別するわかりやすい名前を取得します。

TransportId

メッセージング トランスポートの識別子を取得します。

TransportKind

メッセージ トランスポートの種類を取得します。

メソッド

RequestSetAsNotificationProviderAsync()

メッセージング通知を処理する現在のアプリケーションを設定します。

適用対象