Source/NFX/Glue/Bindings.cs
/// <summary>
/// Ensures that application and binding runtime are running or throws otherwise
/// </summary>
Ensures that application and binding runtime are running or throws otherwise
Ensures that application and binding runtime are running or throws otherwise
public void CheckRunningState(bool client = true)
            {
                if (!App.Active || !Running)
                    throw client ? (GlueException)new ClientCallException(CallStatus.DispatchError, StringConsts.GLUE_SYSTEM_NOT_RUNNING_ERROR) :
                                   (GlueException)new ServerNotRunningException(StringConsts.GLUE_SYSTEM_NOT_RUNNING_ERROR);
            }
public void CheckRunningState ( bool client = true ) { if ( ! App . Active || ! Running ) throw client ? ( GlueException ) new ClientCallException ( CallStatus . DispatchError , StringConsts . GLUE_SYSTEM_NOT_RUNNING_ERROR ) : ( GlueException ) new ServerNotRunningException ( StringConsts . GLUE_SYSTEM_NOT_RUNNING_ERROR ) ; }
Ensures that application and binding runtime are running or throws otherwise
Ensures that application and binding runtime are running or throws otherwise
client
bool