你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

CodePackageDescription Class

public class CodePackageDescription extends PackageDescription

Describes a code package that includes its entry point.

Method Summary

Modifier and Type Method and Description
EntryPointDescription getEntryPoint()

Describes the entry point that is specified in the code package.

boolean getIsShared()

Gets the entry point for the code package.

ExeHostEntryPointDescription getSetupEntryPoint()

Describes that the SetupEntryPoint property is configurable for each code package in a service manifest.

Remarks:Service Fabric provides support for an additional entry point for application/service developers to configure and set up the environment for their services before the main entry point starts.

String toString()

Inherited Members

Method Details

getEntryPoint

public EntryPointDescription getEntryPoint()

Describes the entry point that is specified in the code package.

Returns:

getIsShared

public boolean getIsShared()

Gets the entry point for the code package.

Returns:

A boolean value indicating whether the code package is shared.

getSetupEntryPoint

public ExeHostEntryPointDescription getSetupEntryPoint()

Describes that the SetupEntryPoint property is configurable for each code package in a service manifest.

Remarks:Service Fabric provides support for an additional entry point for application/service developers to configure and set up the environment for their services before the main entry point starts.

Returns:

toString

public String toString()

Applies to