Show / Hide Table of Contents

    Class DocumentationAttribute

    Implements an attribute that adds an endpoint-, contract-, or operation behavior with the specified documentation annotation text.

    Inheritance
    System.Object
    System.Attribute
    DocumentationAttribute
    Implements
    System.Runtime.InteropServices._Attribute
    System.ServiceModel.Description.IEndpointBehavior
    System.ServiceModel.Description.IContractBehavior
    System.ServiceModel.Description.IOperationBehavior
    System.ServiceModel.Description.IServiceContractGenerationExtension
    System.ServiceModel.Description.IOperationContractGenerationExtension
    Inherited Members
    System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, System.Type)
    System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, System.Type, System.Boolean)
    System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo)
    System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, System.Boolean)
    System.Attribute.IsDefined(System.Reflection.MemberInfo, System.Type)
    System.Attribute.IsDefined(System.Reflection.MemberInfo, System.Type, System.Boolean)
    System.Attribute.GetCustomAttribute(System.Reflection.MemberInfo, System.Type)
    System.Attribute.GetCustomAttribute(System.Reflection.MemberInfo, System.Type, System.Boolean)
    System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo)
    System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo, System.Type)
    System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo, System.Type, System.Boolean)
    System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo, System.Boolean)
    System.Attribute.IsDefined(System.Reflection.ParameterInfo, System.Type)
    System.Attribute.IsDefined(System.Reflection.ParameterInfo, System.Type, System.Boolean)
    System.Attribute.GetCustomAttribute(System.Reflection.ParameterInfo, System.Type)
    System.Attribute.GetCustomAttribute(System.Reflection.ParameterInfo, System.Type, System.Boolean)
    System.Attribute.GetCustomAttributes(System.Reflection.Module, System.Type)
    System.Attribute.GetCustomAttributes(System.Reflection.Module)
    System.Attribute.GetCustomAttributes(System.Reflection.Module, System.Boolean)
    System.Attribute.GetCustomAttributes(System.Reflection.Module, System.Type, System.Boolean)
    System.Attribute.IsDefined(System.Reflection.Module, System.Type)
    System.Attribute.IsDefined(System.Reflection.Module, System.Type, System.Boolean)
    System.Attribute.GetCustomAttribute(System.Reflection.Module, System.Type)
    System.Attribute.GetCustomAttribute(System.Reflection.Module, System.Type, System.Boolean)
    System.Attribute.GetCustomAttributes(System.Reflection.Assembly, System.Type)
    System.Attribute.GetCustomAttributes(System.Reflection.Assembly, System.Type, System.Boolean)
    System.Attribute.GetCustomAttributes(System.Reflection.Assembly)
    System.Attribute.GetCustomAttributes(System.Reflection.Assembly, System.Boolean)
    System.Attribute.IsDefined(System.Reflection.Assembly, System.Type)
    System.Attribute.IsDefined(System.Reflection.Assembly, System.Type, System.Boolean)
    System.Attribute.GetCustomAttribute(System.Reflection.Assembly, System.Type)
    System.Attribute.GetCustomAttribute(System.Reflection.Assembly, System.Type, System.Boolean)
    System.Attribute.Equals(System.Object)
    System.Attribute.GetHashCode()
    System.Attribute.Match(System.Object)
    System.Attribute.IsDefaultAttribute()
    System.Attribute.System.Runtime.InteropServices._Attribute.GetTypeInfoCount(System.UInt32)
    System.Attribute.System.Runtime.InteropServices._Attribute.GetTypeInfo(System.UInt32, System.UInt32, System.IntPtr)
    System.Attribute.System.Runtime.InteropServices._Attribute.GetIDsOfNames(System.Guid, System.IntPtr, System.UInt32, System.UInt32, System.IntPtr)
    System.Attribute.System.Runtime.InteropServices._Attribute.Invoke(System.UInt32, System.Guid, System.UInt32, System.Int16, System.IntPtr, System.IntPtr, System.IntPtr, System.IntPtr)
    System.Attribute.TypeId
    System.Object.ToString()
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Nevatech.Vsb.Repository.Description
    Assembly: Nevatech.Vsb.Repository.dll
    Syntax
    [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method | AttributeTargets.Interface)]
    public sealed class DocumentationAttribute : Attribute, _Attribute, IEndpointBehavior, IContractBehavior, IOperationBehavior, IServiceContractGenerationExtension, IOperationContractGenerationExtension

    Constructors

    DocumentationAttribute()

    Declaration
    public DocumentationAttribute()

    Properties

    Documentation

    Gets or sets the text stored as a documentation annotation.

    Declaration
    public string Documentation { get; set; }
    Property Value
    Type Description
    System.String

    Methods

    AddBindingParameters(ContractDescription, ServiceEndpoint, BindingParameterCollection)

    Declaration
    public void AddBindingParameters(ContractDescription contractDescription, ServiceEndpoint endpoint, BindingParameterCollection bindingParameters)
    Parameters
    Type Name Description
    System.ServiceModel.Description.ContractDescription contractDescription
    System.ServiceModel.Description.ServiceEndpoint endpoint
    System.ServiceModel.Channels.BindingParameterCollection bindingParameters

    AddBindingParameters(OperationDescription, BindingParameterCollection)

    Declaration
    public void AddBindingParameters(OperationDescription operationDescription, BindingParameterCollection bindingParameters)
    Parameters
    Type Name Description
    System.ServiceModel.Description.OperationDescription operationDescription
    System.ServiceModel.Channels.BindingParameterCollection bindingParameters

    AddBindingParameters(ServiceEndpoint, BindingParameterCollection)

    Declaration
    public void AddBindingParameters(ServiceEndpoint endpoint, BindingParameterCollection bindingParameters)
    Parameters
    Type Name Description
    System.ServiceModel.Description.ServiceEndpoint endpoint
    System.ServiceModel.Channels.BindingParameterCollection bindingParameters

    ApplyClientBehavior(ContractDescription, ServiceEndpoint, ClientRuntime)

    Declaration
    public void ApplyClientBehavior(ContractDescription contractDescription, ServiceEndpoint endpoint, ClientRuntime clientRuntime)
    Parameters
    Type Name Description
    System.ServiceModel.Description.ContractDescription contractDescription
    System.ServiceModel.Description.ServiceEndpoint endpoint
    System.ServiceModel.Dispatcher.ClientRuntime clientRuntime

    ApplyClientBehavior(OperationDescription, ClientOperation)

    Declaration
    public void ApplyClientBehavior(OperationDescription operationDescription, ClientOperation clientOperation)
    Parameters
    Type Name Description
    System.ServiceModel.Description.OperationDescription operationDescription
    System.ServiceModel.Dispatcher.ClientOperation clientOperation

    ApplyClientBehavior(ServiceEndpoint, ClientRuntime)

    Declaration
    public void ApplyClientBehavior(ServiceEndpoint endpoint, ClientRuntime clientRuntime)
    Parameters
    Type Name Description
    System.ServiceModel.Description.ServiceEndpoint endpoint
    System.ServiceModel.Dispatcher.ClientRuntime clientRuntime

    ApplyDispatchBehavior(ContractDescription, ServiceEndpoint, DispatchRuntime)

    Declaration
    public void ApplyDispatchBehavior(ContractDescription contractDescription, ServiceEndpoint endpoint, DispatchRuntime dispatchRuntime)
    Parameters
    Type Name Description
    System.ServiceModel.Description.ContractDescription contractDescription
    System.ServiceModel.Description.ServiceEndpoint endpoint
    System.ServiceModel.Dispatcher.DispatchRuntime dispatchRuntime

    ApplyDispatchBehavior(OperationDescription, DispatchOperation)

    Declaration
    public void ApplyDispatchBehavior(OperationDescription operationDescription, DispatchOperation dispatchOperation)
    Parameters
    Type Name Description
    System.ServiceModel.Description.OperationDescription operationDescription
    System.ServiceModel.Dispatcher.DispatchOperation dispatchOperation

    ApplyDispatchBehavior(ServiceEndpoint, EndpointDispatcher)

    Declaration
    public void ApplyDispatchBehavior(ServiceEndpoint endpoint, EndpointDispatcher endpointDispatcher)
    Parameters
    Type Name Description
    System.ServiceModel.Description.ServiceEndpoint endpoint
    System.ServiceModel.Dispatcher.EndpointDispatcher endpointDispatcher

    GenerateContract(ServiceContractGenerationContext)

    Declaration
    public void GenerateContract(ServiceContractGenerationContext context)
    Parameters
    Type Name Description
    System.ServiceModel.Description.ServiceContractGenerationContext context

    GenerateOperation(OperationContractGenerationContext)

    Declaration
    public void GenerateOperation(OperationContractGenerationContext context)
    Parameters
    Type Name Description
    System.ServiceModel.Description.OperationContractGenerationContext context

    Validate(ContractDescription, ServiceEndpoint)

    Declaration
    public void Validate(ContractDescription contractDescription, ServiceEndpoint endpoint)
    Parameters
    Type Name Description
    System.ServiceModel.Description.ContractDescription contractDescription
    System.ServiceModel.Description.ServiceEndpoint endpoint

    Validate(OperationDescription)

    Declaration
    public void Validate(OperationDescription operationDescription)
    Parameters
    Type Name Description
    System.ServiceModel.Description.OperationDescription operationDescription

    Validate(ServiceEndpoint)

    Declaration
    public void Validate(ServiceEndpoint endpoint)
    Parameters
    Type Name Description
    System.ServiceModel.Description.ServiceEndpoint endpoint

    Implements

    System.Runtime.InteropServices._Attribute
    System.ServiceModel.Description.IEndpointBehavior
    System.ServiceModel.Description.IContractBehavior
    System.ServiceModel.Description.IOperationBehavior
    System.ServiceModel.Description.IServiceContractGenerationExtension
    System.ServiceModel.Description.IOperationContractGenerationExtension
    Back to top Nevatech Sentinet 6.6 Online Documentation