共用方式為


TeamFoundationMailService.QueueMailJob 方法 (TeamFoundationRequestContext, IEnumerable<MailMessage>)

佇列 SendMailJob 要傳送的訊息。

命名空間:  Microsoft.TeamFoundation.Framework.Server
組件:  Microsoft.TeamFoundation.Framework.Server (在 Microsoft.TeamFoundation.Framework.Server.dll 中)

語法

'宣告
Public Function QueueMailJob ( _
    requestContext As TeamFoundationRequestContext, _
    messages As IEnumerable(Of MailMessage) _
) As ICollection(Of MailRequest)
public ICollection<MailRequest> QueueMailJob(
    TeamFoundationRequestContext requestContext,
    IEnumerable<MailMessage> messages
)

參數

傳回值

類型:System.Collections.Generic.ICollection<MailRequest>
佇列的要求結果。

.NET Framework 安全性

請參閱

參考

TeamFoundationMailService 類別

QueueMailJob 多載

Microsoft.TeamFoundation.Framework.Server 命名空間