コード例 #1
0
        public AUCenterQueryService()
        {
            AUServiceBrokerContext.Current.InitWebClientProtocol(this);

            this.Url = AUServiceClientSettings.GetConfig().QueryServiceAddress.ToString();

            if ((this.IsLocalFileSystemWebService(this.Url) == true))
            {
                this.UseDefaultCredentials = true;
                this.useDefaultCredentialsSetExplicitly = false;
            }
            else
            {
                this.useDefaultCredentialsSetExplicitly = true;
            }
        }
コード例 #2
0
 protected override SchemaObjectServiceSettingsBase GetSettings()
 {
     return(AUServiceClientSettings.GetConfig());
 }
コード例 #3
0
        protected override void InitProperties()
        {
            base.InitProperties();

            this.WithLock = AUServiceClientSettings.GetConfig().WithLock;
        }