private void HandleSessionCreateCompleted(object sender, CreateCompleteEventArgs eventArgs) { if (eventArgs != null) { this._connectionInfo.IdleTimeout = eventArgs.ConnectionInfo.IdleTimeout; this._connectionInfo.MaxIdleTimeout = eventArgs.ConnectionInfo.MaxIdleTimeout; WSManConnectionInfo info = this._connectionInfo as WSManConnectionInfo; if (info != null) { info.OutputBufferingMode = ((WSManConnectionInfo)eventArgs.ConnectionInfo).OutputBufferingMode; } } }
private void HandleSessionCreateCompleted(object sender, CreateCompleteEventArgs eventArgs) { if (eventArgs != null) { this.connectionInfo.IdleTimeout = eventArgs.ConnectionInfo.IdleTimeout; this.connectionInfo.MaxIdleTimeout = eventArgs.ConnectionInfo.MaxIdleTimeout; WSManConnectionInfo connectionInfo = this.connectionInfo as WSManConnectionInfo; if (connectionInfo != null) { connectionInfo.OutputBufferingMode = ((WSManConnectionInfo)eventArgs.ConnectionInfo).OutputBufferingMode; } } this.SessionCreateCompleted.SafeInvoke <CreateCompleteEventArgs>(this, eventArgs); }
private void HandleSessionCreateCompleted(object sender, CreateCompleteEventArgs eventArgs) { this.SessionCreateCompleted.SafeInvoke <CreateCompleteEventArgs>(this, eventArgs); }
internal void RaiseCreateCompleted(CreateCompleteEventArgs eventArgs) { this.CreateCompleted.SafeInvoke <CreateCompleteEventArgs>(this, eventArgs); }