TeamFoundationMailService.QueueMailJob Method (TeamFoundationRequestContext, MailMessage)
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
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- message
Type: System.Net.Mail.MailMessage
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.MailRequest
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.