Class PolicyDescription
Describes a policy.
Implements
Inherited Members
Namespace: Nevatech.Vsb.Repository.Services.Policies
Assembly: Nevatech.Vsb.Repository.dll
Syntax
[DataContract(Namespace = "http://schemas.nevatech.com/sentinet/2011/02")]
public sealed class PolicyDescription : IExtensibleDataObject
Constructors
PolicyDescription()
Declaration
public PolicyDescription()
Properties
ExtensionData
Gets or sets ExtensionDataObject that enables serialization round-trips.
Declaration
public ExtensionDataObject ExtensionData { get; set; }
Property Value
| Type | Description |
|---|---|
| ExtensionDataObject |
Kind
Gets or sets the policy kind: Web (REST) or SOAP.
Declaration
[DataMember]
public PolicyKind Kind { get; set; }
Property Value
| Type | Description |
|---|---|
| PolicyKind |
Name
Gets or sets the policy friendly name.
Declaration
[DataMember]
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Namespace
Gets or sets the policy namespace.
Declaration
[DataMember]
public string Namespace { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PreviousConfiguration
Gets or sets the optional previous configuration to be applied after this instance is serialized. If specified, it should be XML configuration of a binding before it has been changed via policy definition. Only common binding properties such as timeouts will be transferred to the new binding created from this instance.
Declaration
[DataMember]
public string PreviousConfiguration { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Soap
Gets or sets the description relevant for SOAP policies. This property is ignored if Kind is not Soap.
Declaration
[DataMember]
public SoapDescription Soap { get; set; }
Property Value
| Type | Description |
|---|---|
| SoapDescription |
Transport
Gets or sets the description of transport to be used by this policy.
Declaration
[DataMember]
public TransportDescriptionBase Transport { get; set; }
Property Value
| Type | Description |
|---|---|
| TransportDescriptionBase |