Compartilhar via


PolicyAttribute Constructor (String)

Initializes a new instance of the PolicyAttribute class using the specified policy.

Namespace: Microsoft.Web.Services3
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)

Usage

'Usage
Dim policyName As String
Dim policyAttribute1 As New PolicyAttribute(policyName)

Syntax

'Declaration
Public Sub New( _
    ByVal policyName As String _
)
public PolicyAttribute(
    string policyName
);
public:
PolicyAttribute(
    String^ policyName
);
public PolicyAttribute(
    System.String policyName
);
public function PolicyAttribute(
     policyName : String
);

Parameters

  • policyName
    The name of a policy that is defined in a policy file.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server

Target Platforms

See Also

Reference

PolicyAttribute Class
PolicyAttribute Members
Microsoft.Web.Services3 Namespace

Other Resources

How to: Secure a Web Service Using a Policy File