public void QueuingService_Enqueue_Service() { //Arrange var service = new QueuingService(); //Act service.Enqueue <QueuingServiceTestService>(s => s.Run()); //Assert Assert.Pass("No return result"); }
public IAsyncResult BeginSendQueued(string spoolDirectory, QueuingService queuingService, AsyncCallback callback) { return SmtpClient.BeginSendQueued(this, spoolDirectory, queuingService, callback); }
/// <summary> /// Sends the message using the specified queuing service and spool directory. /// </summary> /// <param name="spoolDirectory">The full path to the full directory.</param> /// <param name="queuingService">The queuing service to use.</param> public void SendQueued(string spoolDirectory, QueuingService queuingService) { SmtpClient.SendQueued(this, spoolDirectory, queuingService); }
public static IAsyncResult BeginSendQueued(MessageCollection messages, string spoolDirectory, QueuingService queuingService, AsyncCallback callback) { SmtpClient._delegateSendQueuedMessageCollection = SmtpClient.SendQueued; return SmtpClient._delegateSendQueuedMessageCollection.BeginInvoke(messages, spoolDirectory, queuingService, callback, SmtpClient._delegateSendQueuedMessageCollection); }
public IAsyncResult BeginSendQueued(string spoolDirectory, QueuingService queuingService, AsyncCallback callback) { return(SmtpClient.BeginSendQueued(this, spoolDirectory, queuingService, callback)); }