Property Property Class

Represents the service bus property.

Syntax

Declaration

[DataContract(Name = "Property", Namespace = "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect")]
public class Property : ICloneable<DataContract(Name:="Property", Namespace:="http://schemas.microsoft.com/netservices/2010/10/servicebus/connect")>
Public Class Property
    Implements ICloneable

Inheritance Hierarchy

Fields summary

The serializer associated with the property.

Properties summary

Gets or sets when the property was created.

Gets or sets when the property was modified.

Gets or sets the name of the property.

Gets or sets the version of the property.

Gets or sets the property value.

Methods summary

Creates a copy of this instance.

Fields

  • Serializer
    Serializer

    The serializer associated with the property.

    public static readonly DataContractSerializer SerializerPublic Shared ReadOnly Serializer As DataContractSerializer

Properties

  • Created
    Created

    Gets or sets when the property was created.

    [DataMember(Name = "Created", IsRequired = false, Order = 102, EmitDefaultValue = false)]
    public DateTime Created { get; }<DataMember(Name:="Created", IsRequired:=False, Order:=102, EmitDefaultValue:=False)>
    Public ReadOnly Property Created As Date

    Property Value

  • Modified
    Modified

    Gets or sets when the property was modified.

    [DataMember(Name = "Modified", IsRequired = false, Order = 103, EmitDefaultValue = false)]
    public DateTime Modified { get; }<DataMember(Name:="Modified", IsRequired:=False, Order:=103, EmitDefaultValue:=False)>
    Public ReadOnly Property Modified As Date

    Property Value

  • Name
    Name

    Gets or sets the name of the property.

    [DataMember(Name = "Name", IsRequired = true, Order = 100)]
    public string Name { get; set; }<DataMember(Name:="Name", IsRequired:=True, Order:=100)>
    Public Property Name As String

    Property Value

  • Revision
    Revision

    Gets or sets the version of the property.

    [DataMember(Name = "Revision", IsRequired = false, Order = 104, EmitDefaultValue = false)]
    public long Revision { get; set; }<DataMember(Name:="Revision", IsRequired:=False, Order:=104, EmitDefaultValue:=False)>
    Public Property Revision As Long

    Property Value

  • Value
    Value

    Gets or sets the property value.

    [DataMember(Name = "Value", IsRequired = true, Order = 101)]
    public string Value { get; set; }<DataMember(Name:="Value", IsRequired:=True, Order:=101)>
    Public Property Value As String

    Property Value

Methods

  • Clone()
    Clone()

    Creates a copy of this instance.

    public object Clone()Public Function Clone As Object

    Returns

Details

Assembly

Microsoft.ServiceBus.dll