Share via


PolicyAssertionAttribute Class

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

Used to indicate that an interface or a class or operation has a binding policy assertion.

Inheritance Hierarchy

System. . :: . .Object
  System. . :: . .Attribute
    Ws.ServiceModel..::..PolicyAssertionAttribute

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

Syntax

'Declaration
<AttributeUsageAttribute(AttributeTargets.Class Or AttributeTargets.Method Or AttributeTargets.Interface, Inherited := False,  _
    AllowMultiple := True)> _
Public NotInheritable Class PolicyAssertionAttribute _
    Inherits Attribute
[AttributeUsageAttribute(AttributeTargets.Class|AttributeTargets.Method|AttributeTargets.Interface, Inherited = false, 
    AllowMultiple = true)]
public sealed class PolicyAssertionAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::Class|AttributeTargets::Method|AttributeTargets::Interface, Inherited = false, 
    AllowMultiple = true)]
public ref class PolicyAssertionAttribute sealed : public Attribute
[<Sealed>]
[<AttributeUsageAttribute(AttributeTargets.Class|AttributeTargets.Method|AttributeTargets.Interface, Inherited = false, 
    AllowMultiple = true)>]
type PolicyAssertionAttribute =  
    class
        inherit Attribute
    end
public final class PolicyAssertionAttribute extends Attribute

The PolicyAssertionAttribute type exposes the following members.

Constructors

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

Top

Properties

  Name Description
Public property Name Gets or sets the name for the policy assertion defined in Web Services Description Language (WSDL).
Public property Namespace Gets or sets the namespace of the policy assertion defined in Web Services Description Language (WSDL).
Public property PolicyID Gets or sets the Policy ID attribute defined in Web Service Description Language (WSDL).

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