Eu encontrei as soluções. Agradecimentos agora. está trabalhando muito bem agora.
Endereço de EndpointAddress = EndpointAddress novo (Uri novo (“net.tcp: //SC-Server-APP01: 50010/Common/Definition”), EndpointIdentity.CreateUpnIdentity (“svcrange@dev”));
NetTcpBinding que netTcpBinding = NetTcpBinding novo ();
netTcpBinding.MaxReceivedMessageSize = int.MaxValue;
netTcpBinding.TransactionFlow = retificam;
netTcpBinding.TransactionProtocol = TransactionProtocol.OleTransactions;
netTcpBinding.ReaderQuotas.MaxDepth = int.MaxValue;
netTcpBinding.ReaderQuotas.MaxStringContentLength = int.MaxValue;
netTcpBinding.ReaderQuotas.MaxArrayLength = int.MaxValue;
Fábrica de ChannelFactory = ChannelFactory novo (netTcpBinding, endereço);
fábrica. Endpoint.Behaviors.Add (AttachExtendedHeadersBehavior novo ()
{
Domínio = “escala”,
Cultura = "",
Usuário = ""
});
IDefinition IDefinition1 = factory.CreateChannel ();
defs do var = IDefinition1.GetAllDefinitions (“someuser”);