共用方式為


IStatelessServiceInstance.Abort Method

Definition

Terminates this instance ungracefully with this synchronous method call.

public void Abort ();
abstract member Abort : unit -> unit
Public Sub Abort ()

Remarks

Examples of ungraceful termination are network issues resulting in Service Fabric process shutdown and the use of ReportFault(FaultType) to report a Permanent fault. When the service instance receives this method, it should immediately release and clean up all references and return.

Applies to