TeamFoundationMailService.Send Method (TeamFoundationRequestContext, IEnumerable<MailMessage>)
Send multiple mail messages. If an exception is encountered, this method will not continue with sending.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Sub Send ( _
requestContext As TeamFoundationRequestContext, _
messages As IEnumerable(Of MailMessage) _
)
public void Send(
TeamFoundationRequestContext requestContext,
IEnumerable<MailMessage> messages
)
public:
void Send(
TeamFoundationRequestContext^ requestContext,
IEnumerable<MailMessage^>^ messages
)
member Send :
requestContext:TeamFoundationRequestContext *
messages:IEnumerable<MailMessage> -> unit
public function Send(
requestContext : TeamFoundationRequestContext,
messages : IEnumerable<MailMessage>
)
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- messages
Type: System.Collections.Generic.IEnumerable<MailMessage>
Remarks
Do not call this method on AT.
.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.