EmailManager Klasse

Definition

Ermöglicht es einer Anwendung, die E-Mail-Anwendung mit einer neuen Meldung zu starten. Verwenden Sie diese Option, um Benutzern das Senden von E-Mails von Ihrer Anwendung zu ermöglichen.

public ref class EmailManager abstract sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class EmailManager final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class EmailManager final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public static class EmailManager
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public static class EmailManager
Public Class EmailManager
Vererbung
Object Platform::Object IInspectable EmailManager
Attribute

Windows-Anforderungen

Gerätefamilie
Windows 10 (eingeführt in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v1.0)
App-Funktionen
email emailSystem

Hinweise

Versionsverlauf

Windows-Version SDK-Version Mehrwert
1607 14393 GetForUser

Methoden

GetForUser(User)

Ruft das EmailManagerForUser-Objekt für den angegebenen Benutzer ab.

RequestStoreAsync(EmailStoreAccessType)

Ruft einen E-Mail-Speicher ab, der innerhalb des angegebenen Bereichs liegt.

ShowComposeNewEmailAsync(EmailMessage)

Startet die E-Mail-Anwendung mit einer neuen Meldung, die angezeigt wird.

Gilt für: