• Home
  • Features and concepts
  • Examples
  • Reference
    • 3.0 - .NET (net6.0)
    • 3.0 - .NET (netcoreapp3.1)
    • 3.0 - .NET (net48)
    • 3.0 - Azure Service Fabric (net6.0)
    • 3.0 - Azure Service Fabric (netcoreapp3.1)
    • 3.0 - Azure Service Fabric (net48)
  • Roadmap
  • About

    Show / Hide Table of Contents

    Interface IServiceContextProvider

    Provides a set of properties relating to a service's context.

    Namespace: Copper.Service.Interface
    Assembly: Copper.Service.dll
    Syntax
    public interface IServiceContextProvider

    Properties

    View Source

    ApplicationName

    Gets the name of the application.

    Declaration
    string ApplicationName { get; }
    Property Value
    Type Description
    System.String

    The name of the application.

    View Source

    ApplicationTypeName

    Gets the name of the application type.

    Declaration
    string ApplicationTypeName { get; }
    Property Value
    Type Description
    System.String

    The name of the application type.

    View Source

    NodeName

    Gets the node name.

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

    The node name.

    View Source

    PartitionId

    Gets the partition ID.

    Declaration
    string PartitionId { get; }
    Property Value
    Type Description
    System.String

    The partition ID.

    View Source

    ReplicaOrInstanceId

    Gets the stateful service replica ID or the stateless service instance ID.

    Declaration
    string ReplicaOrInstanceId { get; }
    Property Value
    Type Description
    System.String

    The stateful service replica ID or the stateless service instance ID.

    View Source

    ServiceName

    Gets the service name.

    Declaration
    string ServiceName { get; }
    Property Value
    Type Description
    System.String

    The service name.

    View Source

    ServiceTypeName

    Gets the service type name.

    Declaration
    string ServiceTypeName { get; }
    Property Value
    Type Description
    System.String

    The service type name.

    • View Source
    In This Article
    • Properties
      • ApplicationName
      • ApplicationTypeName
      • NodeName
      • PartitionId
      • ReplicaOrInstanceId
      • ServiceName
      • ServiceTypeName
    Back to top Generated by DocFX