Eksportér (0) Udskriv
Udvid alt
EN
Dette indhold er ikke tilgængeligt på dit sprog, men her er den engelske version.
Dette emne er endnu ikke blevet bedømt - Bedøm dette emne

RoleEnvironment Members

Provides information about the configuration, endpoints, and status of running role instances.

The following tables list the members exposed by the RoleEnvironment type.

  Name Description
public field static TraceSource  
Top
  Name Description
public property static CurrentRoleInstance Gets a RoleInstance object that represents the role instance in which the code is currently running.
public property static DeploymentId Gets the unique identifier of the deployment in which the role instance is running.
public property static IsAvailable Indicates whether the role instance is running in the Windows Azure environment.
public property static IsEmulated Indicates whether the role instance is running in the Windows Azure compute emulator.
public property static Roles Gets the set of Role objects defined for the hosted service.
Top
(see also Protected Methods)
 NameDescription
public methodEquals  (Inherited from Object)
public methodstaticGetConfigurationSettingValueRetrieves the value of a setting in the service configuration file.
public methodGetHashCode  (Inherited from Object)
public methodstaticGetLocalResourceRetrieves a specified local storage resource.
public methodGetType  (Inherited from Object)
public methodstaticRequestRecycleRequests that the current role instance be stopped and restarted.
public methodToString  (Inherited from Object)
Top
  Name Description
protected method Finalize  (Inherited from Object)
protected method MemberwiseClone  (Inherited from Object)
Top
  Name Description
public event static Changed Occurs after a change to the service configuration is applied to the running instances of a role.
public event static Changing Occurs before a change to the service configuration is applied to the running instances of a role.
public event static SimultaneousChanged Occurs after a simultaneous change to the service configuration has been applied to the running instances of a role. A simultaneous change affects all role instances at the same time.
public event static SimultaneousChanging Occurs before a simultaneous change to the service configuration is applied to the running instances of a role. A simultaneous change affects all role instances at the same time.
public event static StatusCheck Occurs at a regular interval to indicate the status of a role instance.
public event static Stopping Occurs when a role instance is about to be stopped.
Top

Syntes du, dette var nyttigt?
(1500 tegn tilbage)
Tak for din feedback

Fællesskabsindhold

Tilføj
Vis:
© 2014 Microsoft. Alle rettigheder forbeholdes.