//------------------------------------------------------------------------------
// <autogenerated>
//     This code was generated by a tool.
//     Runtime Version: 1.1.4322.2300
//
//     Changes to this file may cause incorrect behavior and will be lost if 
//     the code is regenerated.
// </autogenerated>
//------------------------------------------------------------------------------

// 
// 此源代码是由 Microsoft.VSDesigner 1.1.4322.2300 版自动生成。
// 
namespace SK.MemberWeb.Forum_MemberWS {
    using System.Diagnostics;
    using System.Xml.Serialization;
    using System;
    using System.Web.Services.Protocols;
    using System.ComponentModel;
    using System.Web.Services;
    
    
    /// <remarks/>
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Web.Services.WebServiceBindingAttribute(Name="MemberSoap", Namespace="http://tempuri.org/")]
    public class Member : System.Web.Services.Protocols.SoapHttpClientProtocol {
        
        /// <remarks/>
        public Member() {
            string urlSetting = System.Configuration.ConfigurationSettings.AppSettings["SK.MemberWeb.Forum_MemberWS.Member"];
            if ((urlSetting != null)) {
                this.Url = string.Concat(urlSetting, "");
            }
            else {
                this.Url = "http://localhost:8003/member.asmx";
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/Rigister", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public bool Rigister(object userName, object password, object email, object location, object homePage) {
            object[] results = this.Invoke("Rigister", new object[] {
                        userName,
                        password,
                        email,
                        location,
                        homePage});
            return ((bool)(results[0]));
        }
        
        /// <remarks/>
        public System.IAsyncResult BeginRigister(object userName, object password, object email, object location, object homePage, System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("Rigister", new object[] {
                        userName,
                        password,
                        email,
                        location,
                        homePage}, callback, asyncState);
        }
        
        /// <remarks/>
        public bool EndRigister(System.IAsyncResult asyncResult) {
            object[] results = this.EndInvoke(asyncResult);
            return ((bool)(results[0]));
        }
    }
}
