src/ServiceRuntime/RoleEnvironment.php
public static function clearStatus()
    {
        self::_initialize();

        $newState = new ReleaseCurrentState(self::$_clientId);

        self::$_lastState = $newState;

        self::$_runtimeClient->setCurrentState($newState);
    }
public static function clearStatus()
    {
        self::_initialize();

        $newState = new ReleaseCurrentState(self::$_clientId);

        self::$_lastState = $newState;

        self::$_runtimeClient->setCurrentState($newState);
    }
public static function clearStatus ( ) { self :: _initialize ( ) ; $ newState = new ReleaseCurrentState ( self :: $ _clientId ) ; self :: $ _lastState = $ newState ; self :: $ _runtimeClient -> setCurrentState ( $ newState ) ; }
Clears the status of the role instance.

An instance may indicate that it has completed communicating status by
calling this method.

@static
Clears the status of the role instance .