Поделиться через


TeamFoundationMailService.ValidateMessages Method

Validate the messages to be sent or queued for sending.

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

Syntax

'Declaration
Public Function ValidateMessages ( _
    requestContext As TeamFoundationRequestContext, _
    messages As IEnumerable(Of MailMessage) _
) As IEnumerable(Of MailMessage)
public IEnumerable<MailMessage> ValidateMessages(
    TeamFoundationRequestContext requestContext,
    IEnumerable<MailMessage> messages
)
public:
IEnumerable<MailMessage^>^ ValidateMessages(
    TeamFoundationRequestContext^ requestContext, 
    IEnumerable<MailMessage^>^ messages
)
member ValidateMessages : 
        requestContext:TeamFoundationRequestContext * 
        messages:IEnumerable<MailMessage> -> IEnumerable<MailMessage> 
public function ValidateMessages(
    requestContext : TeamFoundationRequestContext, 
    messages : IEnumerable<MailMessage>
) : IEnumerable<MailMessage>

Parameters

Return Value

Type: System.Collections.Generic.IEnumerable<MailMessage>
Valid messages.

.NET Framework Security

See Also

Reference

TeamFoundationMailService Class

Microsoft.TeamFoundation.Framework.Server Namespace