Silverlight 5 | WinRT |
public class AlternateView | |
: AttachmentBase, IDisposable | |
public Uri BaseUri { get; set; } | |
public LinkedResourceCollection LinkedResources { get; } | |
static public AlternateView CreateAlternateViewFromString(String content); | |
static public AlternateView CreateAlternateViewFromString(String content, Encoding contentEncoding, String mediaType); | |
static public AlternateView CreateAlternateViewFromString(String content, ContentType contentType); | |
protected virtual void Dispose(Boolean disposing); |
public sealed class AlternateViewCollection | |
: Collection`1<AlternateView>, IList`1<AlternateView>, ICollection`1<AlternateView>, IEnumerable`1<AlternateView>, IEnumerable, IList, ICollection, IReadOnlyList`1<AlternateView>, IDisposable | |
protected virtual void ClearItems(); | |
public virtual void Dispose(); | |
protected virtual void InsertItem(Int32 index, AlternateView item); | |
protected virtual void RemoveItem(Int32 index); | |
protected virtual void SetItem(Int32 index, AlternateView item); |
public class Attachment | |
: AttachmentBase, IDisposable | |
public ContentDisposition ContentDisposition { get; } | |
public String Name { get; set; } | |
public Encoding NameEncoding { get; set; } | |
static public Attachment CreateAttachmentFromString(String content, String name); | |
static public Attachment CreateAttachmentFromString(String content, String name, Encoding contentEncoding, String mediaType); | |
static public Attachment CreateAttachmentFromString(String content, ContentType contentType); |
public abstract class AttachmentBase | |
: IDisposable | |
public String ContentId { get; set; } | |
public Stream ContentStream { get; } | |
public ContentType ContentType { get; set; } | |
public TransferEncoding TransferEncoding { get; set; } | |
public virtual void Dispose(); | |
protected virtual void Dispose(Boolean disposing); |
public sealed class AttachmentCollection | |
: Collection`1<Attachment>, IList`1<Attachment>, ICollection`1<Attachment>, IEnumerable`1<Attachment>, IEnumerable, IList, ICollection, IReadOnlyList`1<Attachment>, IDisposable | |
protected virtual void ClearItems(); | |
public virtual void Dispose(); | |
protected virtual void InsertItem(Int32 index, Attachment item); | |
protected virtual void RemoveItem(Int32 index); | |
protected virtual void SetItem(Int32 index, Attachment item); |
public sealed enum DeliveryNotificationOptions | |
: IComparable, IFormattable, IConvertible | |
{ None, OnSuccess, OnFailure, Delay, Never } |
public class LinkedResource | |
: AttachmentBase, IDisposable | |
public Uri ContentLink { get; set; } | |
static public LinkedResource CreateLinkedResourceFromString(String content); | |
static public LinkedResource CreateLinkedResourceFromString(String content, Encoding contentEncoding, String mediaType); | |
static public LinkedResource CreateLinkedResourceFromString(String content, ContentType contentType); |
public sealed class LinkedResourceCollection | |
: Collection`1<LinkedResource>, IList`1<LinkedResource>, ICollection`1<LinkedResource>, IEnumerable`1<LinkedResource>, IEnumerable, IList, ICollection, IReadOnlyList`1<LinkedResource>, IDisposable | |
protected virtual void ClearItems(); | |
public virtual void Dispose(); | |
protected virtual void InsertItem(Int32 index, LinkedResource item); | |
protected virtual void RemoveItem(Int32 index); | |
protected virtual void SetItem(Int32 index, LinkedResource item); |
public class MailAddress | |
public String Address { get; } | |
public String DisplayName { get; } | |
public String Host { get; } | |
public String User { get; } | |
public virtual Boolean Equals(Object value); | |
public virtual Int32 GetHashCode(); | |
public virtual String ToString(); |
public class MailAddressCollection | |
: Collection`1<MailAddress>, IList`1<MailAddress>, ICollection`1<MailAddress>, IEnumerable`1<MailAddress>, IEnumerable, IList, ICollection, IReadOnlyList`1<MailAddress> | |
public void Add(String addresses); | |
protected virtual void InsertItem(Int32 index, MailAddress item); | |
protected virtual void SetItem(Int32 index, MailAddress item); | |
public virtual String ToString(); |
public class MailMessage | |
: IDisposable | |
public AlternateViewCollection AlternateViews { get; } | |
public AttachmentCollection Attachments { get; } | |
public MailAddressCollection Bcc { get; } | |
public String Body { get; set; } | |
public Encoding BodyEncoding { get; set; } | |
public TransferEncoding BodyTransferEncoding { get; set; } | |
public MailAddressCollection CC { get; } | |
public DeliveryNotificationOptions DeliveryNotificationOptions { get; set; } | |
public MailAddress From { get; set; } | |
public NameValueCollection Headers { get; } | |
public Encoding HeadersEncoding { get; set; } | |
public Boolean IsBodyHtml { get; set; } | |
public MailPriority Priority { get; set; } | |
public MailAddress ReplyTo { get; set; } | |
public MailAddressCollection ReplyToList { get; } | |
public MailAddress Sender { get; set; } | |
public String Subject { get; set; } | |
public Encoding SubjectEncoding { get; set; } | |
public MailAddressCollection To { get; } | |
public virtual void Dispose(); | |
protected virtual void Dispose(Boolean disposing); |
public sealed enum MailPriority | |
: IComparable, IFormattable, IConvertible | |
{ Normal, Low, High } |
public sealed class SendCompletedEventHandler | |
: MulticastDelegate, ICloneable, ISerializable | |
public virtual IAsyncResult BeginInvoke(Object sender, AsyncCompletedEventArgs e, AsyncCallback callback, Object object); | |
public virtual void EndInvoke(IAsyncResult result); | |
public virtual void Invoke(Object sender, AsyncCompletedEventArgs e); |
public sealed enum SmtpAccess | |
: IComparable, IFormattable, IConvertible | |
{ None, Connect, ConnectToUnrestrictedPort } |
public class SmtpClient | |
: IDisposable | |
public X509CertificateCollection ClientCertificates { get; } | |
public ICredentialsByHost Credentials { get; set; } | |
public SmtpDeliveryFormat DeliveryFormat { get; set; } | |
public SmtpDeliveryMethod DeliveryMethod { get; set; } | |
public Boolean EnableSsl { get; set; } | |
public String Host { get; set; } | |
public String PickupDirectoryLocation { get; set; } | |
public Int32 Port { get; set; } | |
public ServicePoint ServicePoint { get; } | |
public String TargetName { get; set; } | |
public Int32 Timeout { get; set; } | |
public Boolean UseDefaultCredentials { get; set; } | |
public event SendCompletedEventHandler SendCompleted; | |
public virtual void Dispose(); | |
protected virtual void Dispose(Boolean disposing); | |
protected void OnSendCompleted(AsyncCompletedEventArgs e); | |
public void Send(String from, String recipients, String subject, String body); | |
public void Send(MailMessage message); | |
public void SendAsync(String from, String recipients, String subject, String body, Object userToken); | |
public void SendAsync(MailMessage message, Object userToken); | |
public void SendAsyncCancel(); | |
public Task SendMailAsync(String from, String recipients, String subject, String body); | |
public Task SendMailAsync(MailMessage message); |
public sealed enum SmtpDeliveryFormat | |
: IComparable, IFormattable, IConvertible | |
{ SevenBit, International } |
public sealed enum SmtpDeliveryMethod | |
: IComparable, IFormattable, IConvertible | |
{ Network, SpecifiedPickupDirectory, PickupDirectoryFromIis } |
public class SmtpException | |
: Exception, ISerializable, _Exception | |
public SmtpStatusCode StatusCode { get; set; } | |
public virtual void GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext); |
public class SmtpFailedRecipientException | |
: SmtpException, ISerializable, _Exception | |
public String FailedRecipient { get; } | |
public virtual void GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext); |
public class SmtpFailedRecipientsException | |
: SmtpFailedRecipientException, ISerializable, _Exception | |
public SmtpFailedRecipientException InnerExceptions { get; } | |
public virtual void GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext); |
public sealed class SmtpPermission | |
: CodeAccessPermission, IPermission, ISecurityEncodable, IStackWalk, IUnrestrictedPermission | |
public SmtpAccess Access { get; } | |
public void AddPermission(SmtpAccess access); | |
public virtual IPermission Copy(); | |
public virtual void FromXml(SecurityElement securityElement); | |
public virtual IPermission Intersect(IPermission target); | |
public virtual Boolean IsSubsetOf(IPermission target); | |
public virtual Boolean IsUnrestricted(); | |
public virtual SecurityElement ToXml(); | |
public virtual IPermission Union(IPermission target); |
public sealed class SmtpPermissionAttribute | |
: CodeAccessSecurityAttribute, _Attribute | |
public String Access { get; set; } | |
public virtual IPermission CreatePermission(); |
public sealed enum SmtpStatusCode | |
: IComparable, IFormattable, IConvertible | |
{ SystemStatus, HelpMessage, ServiceReady, ServiceClosingTransmissionChannel, Ok, UserNotLocalWillForward, CannotVerifyUserWillAttemptDelivery, StartMailInput, ServiceNotAvailable, MailboxBusy, LocalErrorInProcessing, InsufficientStorage, ClientNotPermitted, CommandUnrecognized, SyntaxError, CommandNotImplemented, BadCommandSequence, MustIssueStartTlsFirst, CommandParameterNotImplemented, MailboxUnavailable, UserNotLocalTryAlternatePath, ExceededStorageAllocation, MailboxNameNotAllowed, TransactionFailed, GeneralFailure } |