TeamFoundationMailService.QueueMailJob Method (TeamFoundationRequestContext, IEnumerable<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, _
messages As IEnumerable(Of MailMessage) _
) As ICollection(Of MailRequest)
public ICollection<MailRequest> QueueMailJob(
TeamFoundationRequestContext requestContext,
IEnumerable<MailMessage> messages
)
public:
ICollection<MailRequest^>^ QueueMailJob(
TeamFoundationRequestContext^ requestContext,
IEnumerable<MailMessage^>^ messages
)
member QueueMailJob :
requestContext:TeamFoundationRequestContext *
messages:IEnumerable<MailMessage> -> ICollection<MailRequest>
public function QueueMailJob(
requestContext : TeamFoundationRequestContext,
messages : IEnumerable<MailMessage>
) : ICollection<MailRequest>
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- messages
Type: System.Collections.Generic.IEnumerable<MailMessage>
Return Value
Type: System.Collections.Generic.ICollection<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.