Files
BeWoPlaner/BeWo/ServiceProxy/GeneratedMailService.cs

119 lines
6.9 KiB
C#
Raw Permalink Normal View History

//------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
// Laufzeitversion:4.0.30319.42000
//
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
// der Code erneut generiert wird.
// </auto-generated>
//------------------------------------------------------------------------------
namespace BeWo.ServiceProxy
{
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
[System.ServiceModel.ServiceContractAttribute(ConfigurationName="BeWo.ServiceProxy.IMailService")]
public interface IMailService
{
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IMailService/DeleteMail", ReplyAction="http://tempuri.org/IMailService/DeleteMailResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IMailService/DeleteMailBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
void DeleteMail(long pEmployeeOid, BS.Shared.DataContracts.MailDC pMail);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IMailService/GetIncomingMails", ReplyAction="http://tempuri.org/IMailService/GetIncomingMailsResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IMailService/GetIncomingMailsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.MailDC> GetIncomingMails(long pEmployeeOid);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IMailService/GetOutgoingMails", ReplyAction="http://tempuri.org/IMailService/GetOutgoingMailsResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IMailService/GetOutgoingMailsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.MailDC> GetOutgoingMails(long pEmployeeOid);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IMailService/MoveMailToRecycleBin", ReplyAction="http://tempuri.org/IMailService/MoveMailToRecycleBinResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IMailService/MoveMailToRecycleBinBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
void MoveMailToRecycleBin(long pEmployeeOid, BS.Shared.DataContracts.MailDC pMail);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IMailService/SendMail", ReplyAction="http://tempuri.org/IMailService/SendMailResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IMailService/SendMailBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
long SendMail(BS.Shared.DataContracts.MailDC pMail);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IMailService/SendEMail", ReplyAction="http://tempuri.org/IMailService/SendEMailResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IMailService/SendEMailBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
bool SendEMail(string subject, string body);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IMailService/SendEMailWithSender", ReplyAction="http://tempuri.org/IMailService/SendEMailWithSenderResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IMailService/SendEMailWithSenderBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
bool SendEMailWithSender(string senderName, string senderEMail, string subject, string body);
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public interface IMailServiceChannel : BeWo.ServiceProxy.IMailService, System.ServiceModel.IClientChannel
{
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public partial class MailServiceClient : System.ServiceModel.ClientBase<BeWo.ServiceProxy.IMailService>, BeWo.ServiceProxy.IMailService
{
public MailServiceClient()
{
}
public MailServiceClient(string endpointConfigurationName) :
base(endpointConfigurationName)
{
}
public MailServiceClient(string endpointConfigurationName, string remoteAddress) :
base(endpointConfigurationName, remoteAddress)
{
}
public MailServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
base(endpointConfigurationName, remoteAddress)
{
}
public MailServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
base(binding, remoteAddress)
{
}
public void DeleteMail(long pEmployeeOid, BS.Shared.DataContracts.MailDC pMail)
{
base.Channel.DeleteMail(pEmployeeOid, pMail);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.MailDC> GetIncomingMails(long pEmployeeOid)
{
return base.Channel.GetIncomingMails(pEmployeeOid);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.MailDC> GetOutgoingMails(long pEmployeeOid)
{
return base.Channel.GetOutgoingMails(pEmployeeOid);
}
public void MoveMailToRecycleBin(long pEmployeeOid, BS.Shared.DataContracts.MailDC pMail)
{
base.Channel.MoveMailToRecycleBin(pEmployeeOid, pMail);
}
public long SendMail(BS.Shared.DataContracts.MailDC pMail)
{
return base.Channel.SendMail(pMail);
}
public bool SendEMail(string subject, string body)
{
return base.Channel.SendEMail(subject, body);
}
public bool SendEMailWithSender(string senderName, string senderEMail, string subject, string body)
{
return base.Channel.SendEMailWithSender(senderName, senderEMail, subject, body);
}
}
}