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
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context.
messages
Type: System.Collections.Generic.IEnumerable<MailMessage>The messages.
Return Value
Type: System.Collections.Generic.IEnumerable<MailMessage>
Valid messages.
.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.