Show / Hide Table of Contents

    Class EndpointDefinition

    Represents a service endpoint. This class is a part of service definition structure used for creating or updating service version with single service call.

    Inheritance
    Object
    DomainObjectBase
    Endpoint
    EndpointDefinition
    RoutingEndpointDefinition
    Implements
    IValidator
    IExtensibleDataObject
    IEquatable<Endpoint>
    Inherited Members
    Endpoint.Validate()
    Endpoint.Equals(Endpoint)
    Endpoint.Equals(Object)
    Endpoint.GetHashCode()
    Endpoint.ToString()
    Endpoint.IsMatch(Endpoint, Endpoint)
    Endpoint.ObjectType
    Endpoint.ContractId
    Endpoint.BindingId
    Endpoint.BehaviorId
    Endpoint.Name
    Endpoint.Description
    Endpoint.LogicalAddress
    Endpoint.PhysicalAddress
    Endpoint.NodeId
    Endpoint.NodeAddressId
    Endpoint.DownstreamEndpointId
    Endpoint.EndpointGroupId
    Endpoint.IsEnabled
    Endpoint.IsPublished
    Endpoint.IsOutbound
    Endpoint.IsSynchronized
    Endpoint.MonitoringType
    Endpoint.RecordingPoints
    Endpoint.IsHttpTransport
    DomainObjectBase.IsValidElementName(String)
    DomainObjectBase.AreEqual(Nullable<DateTime>, Nullable<DateTime>)
    DomainObjectBase.Equals(DomainObjectBase)
    DomainObjectBase.Id
    DomainObjectBase.Key
    DomainObjectBase.Created
    DomainObjectBase.Updated
    DomainObjectBase.IsMajorObject
    DomainObjectBase.ErrorMessage
    DomainObjectBase.ExtensionData
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Nevatech.Vsb.Repository.Services
    Assembly: Nevatech.Vsb.Repository.dll
    Syntax
    public class EndpointDefinition : Endpoint, IValidator, IExtensibleDataObject, IEquatable<Endpoint>

    Constructors

    EndpointDefinition()

    Instantiates an empty endpoint definition.

    Declaration
    public EndpointDefinition()

    EndpointDefinition(Endpoint)

    Initializes new instance from provided endpoint.

    Declaration
    public EndpointDefinition(Endpoint endpoint)
    Parameters
    Type Name Description
    Endpoint endpoint

    Endpoint to be initialized from.

    EndpointDefinition(ServiceEndpoint)

    Initializes new instance from provided service endpoint description.

    Declaration
    public EndpointDefinition(ServiceEndpoint endpoint)
    Parameters
    Type Name Description
    ServiceEndpoint endpoint

    Service endpoint description to be used to populate new instance.

    Properties

    Behavior

    Gets or sets the properties of the endpoint behavior that will be used with this endpoint. Used only if BehaviorId property is not set.

    Declaration
    public Behavior Behavior { get; set; }
    Property Value
    Type Description
    Behavior

    Binding

    Gets or sets the properties of the binding that will be used with this endpoint. Used only if BindingId property is not set.

    Declaration
    public Binding Binding { get; set; }
    Property Value
    Type Description
    Binding

    DownstreamEndpointIdentities

    Gets collection of the downstream endpoint identities applied to the outbound endpoint.

    Declaration
    public Collection<IdentityDefinitionBase> DownstreamEndpointIdentities { get; }
    Property Value
    Type Description
    Collection<IdentityDefinitionBase>

    Identities

    Gets collection of endpoint identities.

    Declaration
    public Collection<IdentityDefinitionBase> Identities { get; }
    Property Value
    Type Description
    Collection<IdentityDefinitionBase>

    IsPopulated

    Gets or sets a flag indicating that endpoint properties are populated. If False, only downstream endpoint identifier is populated and the rest of the properties must be read from the database.

    Declaration
    public bool IsPopulated { get; set; }
    Property Value
    Type Description
    Boolean

    NodeName

    Gets friendly name of the hosting node. Applied only to inbound endpoints of virtual services.

    Declaration
    public string NodeName { get; }
    Property Value
    Type Description
    String

    Properties

    Gets collection of general properties assigned to the endpoint.

    Declaration
    public Collection<Property> Properties { get; }
    Property Value
    Type Description
    Collection<Property>

    Methods

    Compress()

    Clears unnecessary to runtime data to reduce message payload.

    Declaration
    public void Compress()

    CopyFrom(Endpoint)

    Populates current instance from provided endpoint.

    Declaration
    public void CopyFrom(Endpoint endpoint)
    Parameters
    Type Name Description
    Endpoint endpoint

    Endpoint to be populated from.

    CreateBiztalkConfiguration()

    Creates "&"-delimited endpoint configuration to be used with BizTalk Server dynamic send ports configured with WCF-Custom adapter. The configuration string includes binding and service identity.

    Declaration
    public string CreateBiztalkConfiguration()
    Returns
    Type Description
    String

    Endpoint configuration to be used with Biztalk dynamic send ports configured with WCF-Custom adapter.

    CreateClientEndpoint(ContractDescription)

    Creates and configures client endpoint for the current inbound service endpoint.

    Declaration
    public ServiceEndpoint CreateClientEndpoint(ContractDescription contract)
    Parameters
    Type Name Description
    ContractDescription contract

    Contract description to be used for new endpoint.

    Returns
    Type Description
    ServiceEndpoint

    Configured client endpoint that can be used for calling the current service endpoint.

    CreateClientEndpoint<T>()

    Creates and configures client endpoint for the current inbound service endpoint.

    Declaration
    public ServiceEndpoint CreateClientEndpoint<T>()
    Returns
    Type Description
    ServiceEndpoint

    Configured client endpoint that can be used for calling the current service endpoint.

    Type Parameters
    Name Description
    T

    Contract type to be used for new endpoint.

    Implements

    IValidator
    System.Runtime.Serialization.IExtensibleDataObject
    System.IEquatable<T>
    Back to top Nevatech Sentinet 6.5 Online Documentation