Delen via


TeamFoundationMailService.QueueMailJob Method (TeamFoundationRequestContext, MailMessage)

Queue a new message to be sent by the SendMailJob.

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Public Function QueueMailJob ( _
    requestContext As TeamFoundationRequestContext, _
    message As MailMessage _
) As MailRequest
public MailRequest QueueMailJob(
    TeamFoundationRequestContext requestContext,
    MailMessage message
)
public:
MailRequest^ QueueMailJob(
    TeamFoundationRequestContext^ requestContext, 
    MailMessage^ message
)
member QueueMailJob : 
        requestContext:TeamFoundationRequestContext * 
        message:MailMessage -> MailRequest
public function QueueMailJob(
    requestContext : TeamFoundationRequestContext, 
    message : MailMessage
) : MailRequest

Parameters

Return Value

Type: Microsoft.TeamFoundation.Framework.Server.MailRequest
The queued request.

.NET Framework Security

See Also

Reference

TeamFoundationMailService Class

QueueMailJob Overload

Microsoft.TeamFoundation.Framework.Server Namespace