SmsAppMessage Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The interface for manipulating an SMS Application message. Application messages are those which cannot be characterized as any other message type.
Anteckning
This functionality is available only to mobile operator apps and UWP apps given privileged access by mobile network operators, mobile broadband adapter IHV, or OEM. For more information, see Mobile Broadband.
public ref class SmsAppMessage sealed
/// [Windows.Foundation.Metadata.Activatable(65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class SmsAppMessage final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
class SmsAppMessage final
[Windows.Foundation.Metadata.Activatable(65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class SmsAppMessage
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
public sealed class SmsAppMessage
function SmsAppMessage()
Public NotInheritable Class SmsAppMessage
- Inheritance
- Attributes
- Implements
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 |
cellularMessaging
sms
|
Sms |
Constructor. Used to create an SmsAppMessage prior to sending it. |
Binary |
Reads or writes the binary part of the Application message. |
Body |
The plain text body of the message. |
Callback |
The number to be dialed in reply to a received SMS message. |
Cellular |
The class of the cellular device that received the message. |
Device |
The device ID of the device that received the message. |
Encoding |
The encoding used to send the message. |
From |
The telephone number of the sender of the message. |
Is |
Indicates whether an SMS delivery status report was sent by the SMSC. |
Message |
The message class of the message. |
Message |
The message type of the message. |
Port |
The port number of the message. |
Protocol |
The Protocol identifier for the message. |
Retry |
The retry attempt count for the message. |
Sim |
Gets the ICCID (Integrated Circuit Card Identifier) of the SIM that received the message. |
Teleservice |
The Teleservice identifier for the message. |
Timestamp |
The timestamp of the message. |
To |
The telephone number of the recipient of this message. |