UserManager<TUser, TKey>.EmailService Property

Gets or sets the service used to send e-mail.

Namespace:  Microsoft.AspNet.Identity
Assembly:  Microsoft.AspNet.Identity.Core (in Microsoft.AspNet.Identity.Core.dll)

Syntax

'Declaration
Public Property EmailService As IIdentityMessageService 
    Get 
    Set
'Usage
Dim instance As UserManager 
Dim value As IIdentityMessageService 

value = instance.EmailService

instance.EmailService = value
public IIdentityMessageService EmailService { get; set; }
public:
property IIdentityMessageService^ EmailService {
    IIdentityMessageService^ get ();
    void set (IIdentityMessageService^ value);
}
member EmailService : IIdentityMessageService with get, set
function get EmailService () : IIdentityMessageService 
function set EmailService (value : IIdentityMessageService)

Property Value

Type: Microsoft.AspNet.Identity.IIdentityMessageService
The service used to send e-mail.

See Also

Reference

UserManager<TUser, TKey> Class

Microsoft.AspNet.Identity Namespace

Other Resources

ASP.NET Identity