Class EnviarLoteEventosESocial
Enviar o XML o web-service
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Unimake.Business.DFe.Servicos.ESocial
Assembly: Unimake.Business.DFe.dll
Syntax
public class EnviarLoteEventosESocial : ServicoBase, IInteropService<ESocialEnvioLoteEventos>
Constructors
EnviarLoteEventosESocial()
Construtor
Declaration
public EnviarLoteEventosESocial()
EnviarLoteEventosESocial(ESocialEnvioLoteEventos, Configuracao)
Construtor
Declaration
public EnviarLoteEventosESocial(ESocialEnvioLoteEventos eSocialEnviarLoteEventos, Configuracao configuracao)
Parameters
Type | Name | Description |
---|---|---|
ESocialEnvioLoteEventos | eSocialEnviarLoteEventos | Objeto contendo o XML a ser enviado |
Configuracao | configuracao | Configurações para conexão e envio do XML para o web-service |
Fields
_ESocialEnvioLoteEventos
Declaration
ESocialEnvioLoteEventos _ESocialEnvioLoteEventos
Field Value
Type | Description |
---|---|
ESocialEnvioLoteEventos |
Properties
ESocialEnvioLoteEventos
Objeto do XML do lote eventos eSocial
Declaration
public ESocialEnvioLoteEventos ESocialEnvioLoteEventos { get; protected set; }
Property Value
Type | Description |
---|---|
ESocialEnvioLoteEventos |
Result
Conteúdo retornado pelo web-service depois do envio do XML
Declaration
public RetornoEnvioLote Result { get; }
Property Value
Type | Description |
---|---|
RetornoEnvioLote |
Methods
DefinirConfiguracao()
Definir o valor de algumas das propriedades do objeto "Configuracoes"
Declaration
protected override void DefinirConfiguracao()
Overrides
GravarXmlDistribuicao(String, String, String)
Gravar o XML de distribuição em uma pasta no HD
Declaration
public override void GravarXmlDistribuicao(string pasta, string nomeArquivo, string conteudoXML)
Parameters
Type | Name | Description |
---|---|---|
System.String | pasta | Pasta onde deve ser gravado o XML no HD |
System.String | nomeArquivo | Nome do arquivo a ser gravado no HD |
System.String | conteudoXML | String contendo o conteúdo do XML a ser gravado no HD |
Overrides
ValidarXMLEvento(XmlDocument, String, String)
Declaration
void ValidarXMLEvento(XmlDocument xml, string schemaArquivo, string targetNS)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlDocument | xml | |
System.String | schemaArquivo | |
System.String | targetNS |
XmlValidar()
Validar o XML
Declaration
protected override void XmlValidar()