NotOutputBufferException Classe

Définition

Exception levée lorsqu'une méthode restreinte aux objets Output est appelée sur un objet InputPipelineBuffer.

public ref class NotOutputBufferException : ApplicationException
[System.Serializable]
public class NotOutputBufferException : ApplicationException
[<System.Serializable>]
type NotOutputBufferException = class
    inherit ApplicationException
Public Class NotOutputBufferException
Inherits ApplicationException
Héritage
NotOutputBufferException
Attributs

Exemples

L’exemple de code suivant génère un NotOutputBufferException.

using System;  
using Microsoft.SqlServer.Dts.Pipeline;  
using Microsoft.SqlServer.Dts.Pipeline.Design;  

namespace DtsDocumentation  
{  
[DtsPipelineComponent(DisplayName = "MyComponent")]  
public class Class1 : PipelineComponent  
{  
public override void ProcessInput(int inputID, PipelineBuffer buffer)  
{  
//Causes an NotOutputBufferException  
buffer.AddRow();  
}  
}  
}  

Remarques

Les méthodes suivantes sont limitées aux PipelineBuffer objets en Output mode :

Constructeurs

NotOutputBufferException()

Initialise une nouvelle instance de la classe NotOutputBufferException.

S’applique à