MessageParameterAttribute Class

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Controls the name of the request and response parameter names; cannot be used with message contracts.

Inheritance Hierarchy

System. . :: . .Object
  System. . :: . .Attribute
    Ws.ServiceModel..::..MessageParameterAttribute

Namespace:  Ws.ServiceModel
Assembly:  MFWsStack (in MFWsStack.dll)

Syntax

'Declaration
<AttributeUsageAttribute(AttributeTargets.Parameter Or AttributeTargets.ReturnValue, Inherited := False)> _
Public NotInheritable Class MessageParameterAttribute _
    Inherits Attribute
[AttributeUsageAttribute(AttributeTargets.Parameter|AttributeTargets.ReturnValue, Inherited = false)]
public sealed class MessageParameterAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::Parameter|AttributeTargets::ReturnValue, Inherited = false)]
public ref class MessageParameterAttribute sealed : public Attribute
[<Sealed>]
[<AttributeUsageAttribute(AttributeTargets.Parameter|AttributeTargets.ReturnValue, Inherited = false)>]
type MessageParameterAttribute =  
    class
        inherit Attribute
    end
public final class MessageParameterAttribute extends Attribute

The MessageParameterAttribute type exposes the following members.

Constructors

  Name Description
Public method MessageParameterAttribute Initializes a new instance of the MessageParameterAttribute class.

Top

Properties

  Name Description
Public property Name Gets or sets the name attribute of the parameter in the XML Schema (XSD).

Top

Methods

  Name Description
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Ws.ServiceModel Namespace