//------------------------------------------------------------------------------ // // Copyright (c) Microsoft Corporation. All rights reserved. // //------------------------------------------------------------------------------ namespace System.Web.Services.Protocols { using System; using System.Web.Services.Description; using System.Runtime.InteropServices; /// /// /// [To be supplied.] /// [AttributeUsage(AttributeTargets.Method)] public sealed class SoapRpcMethodAttribute : System.Attribute { string action; string requestName; string responseName; string requestNamespace; string responseNamespace; bool oneWay; string binding; SoapBindingUse use = SoapBindingUse.Encoded; /// /// /// [To be supplied.] /// public SoapRpcMethodAttribute() { } /// /// /// [To be supplied.] /// public SoapRpcMethodAttribute(string action) { this.action = action; } /// /// /// [To be supplied.] /// public string Action { get { return action; } set { action = value; } } /// /// /// [To be supplied.] /// public string Binding { get { return binding == null ? string.Empty : binding; } set { binding = value; } } /// /// /// [To be supplied.] /// public bool OneWay { get { return oneWay; } set { oneWay = value; } } /// /// /// [To be supplied.] /// public string RequestNamespace { get { return requestNamespace; } set { requestNamespace = value; } } /// /// /// [To be supplied.] /// public string ResponseNamespace { get { return responseNamespace; } set { responseNamespace = value; } } /// /// /// [To be supplied.] /// public string RequestElementName { get { return requestName == null ? string.Empty : requestName; } set { requestName = value; } } /// /// /// [To be supplied.] /// public string ResponseElementName { get { return responseName == null ? string.Empty : responseName; } set { responseName = value; } } /// /// /// [To be supplied.] /// [ComVisible(false)] public SoapBindingUse Use { get { return use; } set { use = value; } } } }