The BasePolicy<TPolicy> Class

The Microsoft.ConnectedIndustry.ServiceModel.Policy.BasePolicy<TPolicy> generic class is the base class for implementing a custom policy.It provides the logic necessary to serialize and deserialize policy content as XML.

The BasePolicy class exposes the following members.

Name

Description

BasePolicy

The BasePolicy constructor initializes a new instance of the BasePolicy class.

Name

Description

PolicyDefinition

The PolicyDefinition identifies the policy. It must be unique.


Name

Description

CreateAssertion

The CreateAssertion method serializes policy content as an XML fragment.

TryDecodeAssertion

The TryDecodeAssertion method attempts to deserialize an XML fragment into a policy object.


Show: