RestartPrivate() 개인적인 정적인 메소드

Restarts the NodeTypeManager without sending an ApplicationMessage. Do not call this method explicitly, the system will call it if neccessary (when the reset is triggered by an another instance).
private static RestartPrivate ( ) : void
리턴 void
예제 #1
0
            public override void DoAction(bool onRemote, bool isFromMe)
            {
                // Local echo of my action: Return without doing anything
                if (onRemote && isFromMe)
                {
                    return;
                }

                NodeTypeManager.RestartPrivate();
            }
예제 #2
0
            public override Task DoActionAsync(bool onRemote, bool isFromMe, CancellationToken cancellationToken)
            {
                // Local echo of my action: Return without doing anything
                if (onRemote && isFromMe)
                {
                    return(Task.CompletedTask);
                }

                NodeTypeManager.RestartPrivate();

                return(Task.CompletedTask);
            }