Jo Shields 3c1f479b9d Imported Upstream version 4.0.0~alpha1
Former-commit-id: 806294f5ded97629b74c85c09952f2a74fe182d9
2015-04-07 09:35:12 +01:00

48 lines
1.9 KiB
C#

//------------------------------------------------------------------------------
// <copyright file="SoapRpcServiceAttribute.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//------------------------------------------------------------------------------
namespace System.Web.Services.Protocols {
using System;
using System.Reflection;
using System.Xml.Serialization;
using System.Web.Services.Description;
using System.Runtime.InteropServices;
/// <include file='doc\SoapRpcServiceAttribute.uex' path='docs/doc[@for="SoapRpcServiceAttribute"]/*' />
/// <devdoc>
/// <para>[To be supplied.]</para>
/// </devdoc>
[AttributeUsage(AttributeTargets.Class)]
public sealed class SoapRpcServiceAttribute : Attribute {
SoapServiceRoutingStyle routingStyle = SoapServiceRoutingStyle.SoapAction;
SoapBindingUse use = SoapBindingUse.Encoded;
/// <include file='doc\SoapRpcServiceAttribute.uex' path='docs/doc[@for="SoapRpcServiceAttribute.SoapRpcServiceAttribute"]/*' />
/// <devdoc>
/// <para>[To be supplied.]</para>
/// </devdoc>
public SoapRpcServiceAttribute() {
}
/// <include file='doc\SoapRpcServiceAttribute.uex' path='docs/doc[@for="SoapRpcServiceAttribute.RoutingStyle"]/*' />
public SoapServiceRoutingStyle RoutingStyle {
get { return routingStyle; }
set { routingStyle = value; }
}
/// <include file='doc\SoapRpcServiceAttribute.uex' path='docs/doc[@for="SoapRpcServiceAttribute.Use"]/*' />
/// <devdoc>
/// <para>[To be supplied.]</para>
/// </devdoc>
[ComVisible(false)]
public SoapBindingUse Use {
get { return use; }
set { use = value; }
}
}
}