internal PooledPowershellInvocationStateInfo(PooledPowershellInvocationState state) { _state = state; _reason = null; }
internal PooledPowershellInvocationStateInfo(PooledPowershellInvocationState state, Exception ex) { _state = PooledPowershellInvocationState.NotStarted; _reason = ex; }
/// <summary> /// Initializes a new <c>PooledPowershellInvocationStateInfo</c> object setting the sate to <c>NotStarted</c>. /// <seealso cref="PooledPowershellInvocationStateInfo._state"/> /// </summary> internal PooledPowershellInvocationStateInfo() { _state = PooledPowershellInvocationState.NotStarted; _reason = null; }