Share via


ChatMessageTransport Class

Definition

Represents the identity of a transport for sending and receiving messages. Physically, a chat message transport is a SIM slot on the phone.

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
Inheritance
Object Platform::Object IInspectable ChatMessageTransport
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)
App capabilities
chat chatSystem smsSend

Remarks

Obtain an instance of this class by calling GetTransportsAsync.

Properties

Configuration

Gets the configuration of the message transport.

IsActive

Gets a Boolean value that indicates whether the messaging transport is active.

IsAppSetAsNotificationProvider

Gets a Boolean value that indicates whether the current application is set as the messaging notification provider.

TransportFriendlyName

Gets a descriptive name identifying the messaging transport.

TransportId

Gets the messaging transport’s identifier.

TransportKind

Gets the type of the message transport.

Methods

RequestSetAsNotificationProviderAsync()

Sets the current application to handle messaging notifications.

Applies to