<PackageReference Include="Relativity.Server.Transfer.SDK" Version="24000.0.1" />

RelativityManager

using System; using System.CodeDom.Compiler; using System.ComponentModel; using System.Data; using System.Diagnostics; using System.Threading; using System.Web.Services; using System.Web.Services.Protocols; namespace Relativity.Transfer { [GeneratedCode("wsdl", "4.6.1055.0")] [DebuggerStepThrough] [DesignerCategory("code")] [WebServiceBinding] public class RelativityManager { private SendOrPostCallback RetrieveCurrencySymbolOperationCompleted; private SendOrPostCallback RetrieveRelativityVersionOperationCompleted; private SendOrPostCallback ValidateSuccessfulLoginOperationCompleted; private SendOrPostCallback GetServerTimezoneOffsetOperationCompleted; private SendOrPostCallback IsAuditingEnabledOperationCompleted; private SendOrPostCallback IsImportEmailNotificationEnabledOperationCompleted; private SendOrPostCallback RetrieveRdcConfigurationOperationCompleted; private SendOrPostCallback PingOperationCompleted; private SendOrPostCallback ReceiveTextOperationCompleted; private SendOrPostCallback GetInstanceInformationOperationCompleted; private SendOrPostCallback GetRelativityUrlOperationCompleted; public event RetrieveCurrencySymbolCompletedEventHandler RetrieveCurrencySymbolCompleted; public event RetrieveRelativityVersionCompletedEventHandler RetrieveRelativityVersionCompleted; public event ValidateSuccessfulLoginCompletedEventHandler ValidateSuccessfulLoginCompleted; public event GetServerTimezoneOffsetCompletedEventHandler GetServerTimezoneOffsetCompleted; public event IsAuditingEnabledCompletedEventHandler IsAuditingEnabledCompleted; public event IsImportEmailNotificationEnabledCompletedEventHandler IsImportEmailNotificationEnabledCompleted; public event RetrieveRdcConfigurationCompletedEventHandler RetrieveRdcConfigurationCompleted; public event PingCompletedEventHandler PingCompleted; public event ReceiveTextCompletedEventHandler ReceiveTextCompleted; public event GetInstanceInformationCompletedEventHandler GetInstanceInformationCompleted; public event GetRelativityUrlCompletedEventHandler GetRelativityUrlCompleted; public RelativityManager() : this() { this.set_Url("http://localhost/RelativityWebApi/RelativityManager.asmx"); } [SoapDocumentMethod("http://www.kCura.com/EDDS/RelativityManager/RetrieveCurrencySymbol")] public string RetrieveCurrencySymbol() { return (string)this.Invoke("RetrieveCurrencySymbol", new object[0])[0]; } public IAsyncResult BeginRetrieveCurrencySymbol(AsyncCallback callback, object asyncState) { return this.BeginInvoke("RetrieveCurrencySymbol", new object[0], callback, asyncState); } public string EndRetrieveCurrencySymbol(IAsyncResult asyncResult) { return (string)this.EndInvoke(asyncResult)[0]; } public void RetrieveCurrencySymbolAsync() { RetrieveCurrencySymbolAsync(null); } public void RetrieveCurrencySymbolAsync(object userState) { if (RetrieveCurrencySymbolOperationCompleted == null) RetrieveCurrencySymbolOperationCompleted = OnRetrieveCurrencySymbolOperationCompleted; this.InvokeAsync("RetrieveCurrencySymbol", new object[0], RetrieveCurrencySymbolOperationCompleted, userState); } private void OnRetrieveCurrencySymbolOperationCompleted(object arg) { if (this.RetrieveCurrencySymbolCompleted != null) { InvokeCompletedEventArgs val = arg; this.RetrieveCurrencySymbolCompleted(this, new RetrieveCurrencySymbolCompletedEventArgs(val.get_Results(), ((AsyncCompletedEventArgs)val).Error, ((AsyncCompletedEventArgs)val).Cancelled, ((AsyncCompletedEventArgs)val).UserState)); } } [SoapDocumentMethod("http://www.kCura.com/EDDS/RelativityManager/RetrieveRelativityVersion")] public string RetrieveRelativityVersion() { return (string)this.Invoke("RetrieveRelativityVersion", new object[0])[0]; } public IAsyncResult BeginRetrieveRelativityVersion(AsyncCallback callback, object asyncState) { return this.BeginInvoke("RetrieveRelativityVersion", new object[0], callback, asyncState); } public string EndRetrieveRelativityVersion(IAsyncResult asyncResult) { return (string)this.EndInvoke(asyncResult)[0]; } public void RetrieveRelativityVersionAsync() { RetrieveRelativityVersionAsync(null); } public void RetrieveRelativityVersionAsync(object userState) { if (RetrieveRelativityVersionOperationCompleted == null) RetrieveRelativityVersionOperationCompleted = OnRetrieveRelativityVersionOperationCompleted; this.InvokeAsync("RetrieveRelativityVersion", new object[0], RetrieveRelativityVersionOperationCompleted, userState); } private void OnRetrieveRelativityVersionOperationCompleted(object arg) { if (this.RetrieveRelativityVersionCompleted != null) { InvokeCompletedEventArgs val = arg; this.RetrieveRelativityVersionCompleted(this, new RetrieveRelativityVersionCompletedEventArgs(val.get_Results(), ((AsyncCompletedEventArgs)val).Error, ((AsyncCompletedEventArgs)val).Cancelled, ((AsyncCompletedEventArgs)val).UserState)); } } [SoapDocumentMethod("http://www.kCura.com/EDDS/RelativityManager/ValidateSuccessfulLogin")] public bool ValidateSuccessfulLogin() { return (bool)this.Invoke("ValidateSuccessfulLogin", new object[0])[0]; } public IAsyncResult BeginValidateSuccessfulLogin(AsyncCallback callback, object asyncState) { return this.BeginInvoke("ValidateSuccessfulLogin", new object[0], callback, asyncState); } public bool EndValidateSuccessfulLogin(IAsyncResult asyncResult) { return (bool)this.EndInvoke(asyncResult)[0]; } public void ValidateSuccessfulLoginAsync() { ValidateSuccessfulLoginAsync(null); } public void ValidateSuccessfulLoginAsync(object userState) { if (ValidateSuccessfulLoginOperationCompleted == null) ValidateSuccessfulLoginOperationCompleted = OnValidateSuccessfulLoginOperationCompleted; this.InvokeAsync("ValidateSuccessfulLogin", new object[0], ValidateSuccessfulLoginOperationCompleted, userState); } private void OnValidateSuccessfulLoginOperationCompleted(object arg) { if (this.ValidateSuccessfulLoginCompleted != null) { InvokeCompletedEventArgs val = arg; this.ValidateSuccessfulLoginCompleted(this, new ValidateSuccessfulLoginCompletedEventArgs(val.get_Results(), ((AsyncCompletedEventArgs)val).Error, ((AsyncCompletedEventArgs)val).Cancelled, ((AsyncCompletedEventArgs)val).UserState)); } } [SoapDocumentMethod("http://www.kCura.com/EDDS/RelativityManager/GetServerTimezoneOffset")] public int GetServerTimezoneOffset() { return (int)this.Invoke("GetServerTimezoneOffset", new object[0])[0]; } public IAsyncResult BeginGetServerTimezoneOffset(AsyncCallback callback, object asyncState) { return this.BeginInvoke("GetServerTimezoneOffset", new object[0], callback, asyncState); } public int EndGetServerTimezoneOffset(IAsyncResult asyncResult) { return (int)this.EndInvoke(asyncResult)[0]; } public void GetServerTimezoneOffsetAsync() { GetServerTimezoneOffsetAsync(null); } public void GetServerTimezoneOffsetAsync(object userState) { if (GetServerTimezoneOffsetOperationCompleted == null) GetServerTimezoneOffsetOperationCompleted = OnGetServerTimezoneOffsetOperationCompleted; this.InvokeAsync("GetServerTimezoneOffset", new object[0], GetServerTimezoneOffsetOperationCompleted, userState); } private void OnGetServerTimezoneOffsetOperationCompleted(object arg) { if (this.GetServerTimezoneOffsetCompleted != null) { InvokeCompletedEventArgs val = arg; this.GetServerTimezoneOffsetCompleted(this, new GetServerTimezoneOffsetCompletedEventArgs(val.get_Results(), ((AsyncCompletedEventArgs)val).Error, ((AsyncCompletedEventArgs)val).Cancelled, ((AsyncCompletedEventArgs)val).UserState)); } } [SoapDocumentMethod("http://www.kCura.com/EDDS/RelativityManager/IsAuditingEnabled")] public bool IsAuditingEnabled() { return (bool)this.Invoke("IsAuditingEnabled", new object[0])[0]; } public IAsyncResult BeginIsAuditingEnabled(AsyncCallback callback, object asyncState) { return this.BeginInvoke("IsAuditingEnabled", new object[0], callback, asyncState); } public bool EndIsAuditingEnabled(IAsyncResult asyncResult) { return (bool)this.EndInvoke(asyncResult)[0]; } public void IsAuditingEnabledAsync() { IsAuditingEnabledAsync(null); } public void IsAuditingEnabledAsync(object userState) { if (IsAuditingEnabledOperationCompleted == null) IsAuditingEnabledOperationCompleted = OnIsAuditingEnabledOperationCompleted; this.InvokeAsync("IsAuditingEnabled", new object[0], IsAuditingEnabledOperationCompleted, userState); } private void OnIsAuditingEnabledOperationCompleted(object arg) { if (this.IsAuditingEnabledCompleted != null) { InvokeCompletedEventArgs val = arg; this.IsAuditingEnabledCompleted(this, new IsAuditingEnabledCompletedEventArgs(val.get_Results(), ((AsyncCompletedEventArgs)val).Error, ((AsyncCompletedEventArgs)val).Cancelled, ((AsyncCompletedEventArgs)val).UserState)); } } [SoapDocumentMethod("http://www.kCura.com/EDDS/RelativityManager/IsImportEmailNotificationEnabled")] public bool IsImportEmailNotificationEnabled() { return (bool)this.Invoke("IsImportEmailNotificationEnabled", new object[0])[0]; } public IAsyncResult BeginIsImportEmailNotificationEnabled(AsyncCallback callback, object asyncState) { return this.BeginInvoke("IsImportEmailNotificationEnabled", new object[0], callback, asyncState); } public bool EndIsImportEmailNotificationEnabled(IAsyncResult asyncResult) { return (bool)this.EndInvoke(asyncResult)[0]; } public void IsImportEmailNotificationEnabledAsync() { IsImportEmailNotificationEnabledAsync(null); } public void IsImportEmailNotificationEnabledAsync(object userState) { if (IsImportEmailNotificationEnabledOperationCompleted == null) IsImportEmailNotificationEnabledOperationCompleted = OnIsImportEmailNotificationEnabledOperationCompleted; this.InvokeAsync("IsImportEmailNotificationEnabled", new object[0], IsImportEmailNotificationEnabledOperationCompleted, userState); } private void OnIsImportEmailNotificationEnabledOperationCompleted(object arg) { if (this.IsImportEmailNotificationEnabledCompleted != null) { InvokeCompletedEventArgs val = arg; this.IsImportEmailNotificationEnabledCompleted(this, new IsImportEmailNotificationEnabledCompletedEventArgs(val.get_Results(), ((AsyncCompletedEventArgs)val).Error, ((AsyncCompletedEventArgs)val).Cancelled, ((AsyncCompletedEventArgs)val).UserState)); } } [SoapDocumentMethod("http://www.kCura.com/EDDS/RelativityManager/RetrieveRdcConfiguration")] public DataSet RetrieveRdcConfiguration() { return (DataSet)this.Invoke("RetrieveRdcConfiguration", new object[0])[0]; } public IAsyncResult BeginRetrieveRdcConfiguration(AsyncCallback callback, object asyncState) { return this.BeginInvoke("RetrieveRdcConfiguration", new object[0], callback, asyncState); } public DataSet EndRetrieveRdcConfiguration(IAsyncResult asyncResult) { return (DataSet)this.EndInvoke(asyncResult)[0]; } public void RetrieveRdcConfigurationAsync() { RetrieveRdcConfigurationAsync(null); } public void RetrieveRdcConfigurationAsync(object userState) { if (RetrieveRdcConfigurationOperationCompleted == null) RetrieveRdcConfigurationOperationCompleted = OnRetrieveRdcConfigurationOperationCompleted; this.InvokeAsync("RetrieveRdcConfiguration", new object[0], RetrieveRdcConfigurationOperationCompleted, userState); } private void OnRetrieveRdcConfigurationOperationCompleted(object arg) { if (this.RetrieveRdcConfigurationCompleted != null) { InvokeCompletedEventArgs val = arg; this.RetrieveRdcConfigurationCompleted(this, new RetrieveRdcConfigurationCompletedEventArgs(val.get_Results(), ((AsyncCompletedEventArgs)val).Error, ((AsyncCompletedEventArgs)val).Cancelled, ((AsyncCompletedEventArgs)val).UserState)); } } [SoapDocumentMethod("http://www.kCura.com/EDDS/RelativityManager/Ping")] public string Ping() { return (string)this.Invoke("Ping", new object[0])[0]; } public IAsyncResult BeginPing(AsyncCallback callback, object asyncState) { return this.BeginInvoke("Ping", new object[0], callback, asyncState); } public string EndPing(IAsyncResult asyncResult) { return (string)this.EndInvoke(asyncResult)[0]; } public void PingAsync() { PingAsync(null); } public void PingAsync(object userState) { if (PingOperationCompleted == null) PingOperationCompleted = OnPingOperationCompleted; this.InvokeAsync("Ping", new object[0], PingOperationCompleted, userState); } private void OnPingOperationCompleted(object arg) { if (this.PingCompleted != null) { InvokeCompletedEventArgs val = arg; this.PingCompleted(this, new PingCompletedEventArgs(val.get_Results(), ((AsyncCompletedEventArgs)val).Error, ((AsyncCompletedEventArgs)val).Cancelled, ((AsyncCompletedEventArgs)val).UserState)); } } [SoapDocumentMethod("http://www.kCura.com/EDDS/RelativityManager/ReceiveText")] public bool ReceiveText(string text) { return (bool)this.Invoke("ReceiveText", new object[1] { text })[0]; } public IAsyncResult BeginReceiveText(string text, AsyncCallback callback, object asyncState) { return this.BeginInvoke("ReceiveText", new object[1] { text }, callback, asyncState); } public bool EndReceiveText(IAsyncResult asyncResult) { return (bool)this.EndInvoke(asyncResult)[0]; } public void ReceiveTextAsync(string text) { ReceiveTextAsync(text, null); } public void ReceiveTextAsync(string text, object userState) { if (ReceiveTextOperationCompleted == null) ReceiveTextOperationCompleted = OnReceiveTextOperationCompleted; this.InvokeAsync("ReceiveText", new object[1] { text }, ReceiveTextOperationCompleted, userState); } private void OnReceiveTextOperationCompleted(object arg) { if (this.ReceiveTextCompleted != null) { InvokeCompletedEventArgs val = arg; this.ReceiveTextCompleted(this, new ReceiveTextCompletedEventArgs(val.get_Results(), ((AsyncCompletedEventArgs)val).Error, ((AsyncCompletedEventArgs)val).Cancelled, ((AsyncCompletedEventArgs)val).UserState)); } } [SoapDocumentMethod("http://www.kCura.com/EDDS/RelativityManager/GetInstanceInformation")] public string GetInstanceInformation() { return (string)this.Invoke("GetInstanceInformation", new object[0])[0]; } public IAsyncResult BeginGetInstanceInformation(AsyncCallback callback, object asyncState) { return this.BeginInvoke("GetInstanceInformation", new object[0], callback, asyncState); } public string EndGetInstanceInformation(IAsyncResult asyncResult) { return (string)this.EndInvoke(asyncResult)[0]; } public void GetInstanceInformationAsync() { GetInstanceInformationAsync(null); } public void GetInstanceInformationAsync(object userState) { if (GetInstanceInformationOperationCompleted == null) GetInstanceInformationOperationCompleted = OnGetInstanceInformationOperationCompleted; this.InvokeAsync("GetInstanceInformation", new object[0], GetInstanceInformationOperationCompleted, userState); } private void OnGetInstanceInformationOperationCompleted(object arg) { if (this.GetInstanceInformationCompleted != null) { InvokeCompletedEventArgs val = arg; this.GetInstanceInformationCompleted(this, new GetInstanceInformationCompletedEventArgs(val.get_Results(), ((AsyncCompletedEventArgs)val).Error, ((AsyncCompletedEventArgs)val).Cancelled, ((AsyncCompletedEventArgs)val).UserState)); } } [SoapDocumentMethod("http://www.kCura.com/EDDS/RelativityManager/GetRelativityUrl")] public string GetRelativityUrl() { return (string)this.Invoke("GetRelativityUrl", new object[0])[0]; } public IAsyncResult BeginGetRelativityUrl(AsyncCallback callback, object asyncState) { return this.BeginInvoke("GetRelativityUrl", new object[0], callback, asyncState); } public string EndGetRelativityUrl(IAsyncResult asyncResult) { return (string)this.EndInvoke(asyncResult)[0]; } public void GetRelativityUrlAsync() { GetRelativityUrlAsync(null); } public void GetRelativityUrlAsync(object userState) { if (GetRelativityUrlOperationCompleted == null) GetRelativityUrlOperationCompleted = OnGetRelativityUrlOperationCompleted; this.InvokeAsync("GetRelativityUrl", new object[0], GetRelativityUrlOperationCompleted, userState); } private void OnGetRelativityUrlOperationCompleted(object arg) { if (this.GetRelativityUrlCompleted != null) { InvokeCompletedEventArgs val = arg; this.GetRelativityUrlCompleted(this, new GetRelativityUrlCompletedEventArgs(val.get_Results(), ((AsyncCompletedEventArgs)val).Error, ((AsyncCompletedEventArgs)val).Cancelled, ((AsyncCompletedEventArgs)val).UserState)); } } public void CancelAsync(object userState) { this.CancelAsync(userState); } } }