ChatMessageAttachment Klasse
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Stellt eine Anlage zu einer Chatnachricht dar.
public ref class ChatMessageAttachment sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.ApplicationModel.Chat.IChatMessageAttachmentFactory, 65536, Windows.Foundation.UniversalApiContract)]
/// [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 ChatMessageAttachment final
/// [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)]
/// [Windows.Foundation.Metadata.Activatable(Windows.ApplicationModel.Chat.IChatMessageAttachmentFactory, 65536, "Windows.Foundation.UniversalApiContract")]
class ChatMessageAttachment final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.ApplicationModel.Chat.IChatMessageAttachmentFactory), 65536, typeof(Windows.Foundation.UniversalApiContract))]
[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 ChatMessageAttachment
[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)]
[Windows.Foundation.Metadata.Activatable(typeof(Windows.ApplicationModel.Chat.IChatMessageAttachmentFactory), 65536, "Windows.Foundation.UniversalApiContract")]
public sealed class ChatMessageAttachment
function ChatMessageAttachment(mimeType, dataStreamReference)
Public NotInheritable Class ChatMessageAttachment
- Vererbung
- Attribute
Windows-Anforderungen
Gerätefamilie |
Windows 10 (eingeführt in 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
|
API contract |
Windows.Foundation.UniversalApiContract (eingeführt in v1.0)
|
App-Funktionen |
chat
chatSystem
smsSend
|
Konstruktoren
ChatMessageAttachment(String, IRandomAccessStreamReference) |
Initialisiert eine neue instance der ChatMessageAttachment-Klasse. |
Eigenschaften
DataStreamReference |
Ruft einen Streamverweis für eine Nachrichtenanlage ab oder legt diese fest. |
GroupId |
Ruft den Bezeichner für die Anlagengruppe ab, zu der diese Anlage gehört, oder legt diesen fest. |
MimeType |
Ruft den MIME-Typ der Anlage ab oder legt diese fest. |
OriginalFileName |
Ruft den ursprünglichen Dateinamen der Anlage ab oder legt diese fest. |
Text |
Ruft die textcodierte Darstellung des Anlagenobjekts ab oder legt diese fest. |
Thumbnail |
Ruft das Miniaturbild für die Anlage ab oder legt es fest. |
TransferProgress |
Ruft den Fortschritt der Übertragung der Anlage ab oder legt diese fest. |