Linguaggio

NotOutputBufferException Classe

Definizione

L'eccezione che viene lanciata quando un metodo limitato agli Output oggetti viene chiamato su un InputPipelineBuffer.

public ref class NotOutputBufferException : ApplicationException
[System.Serializable]
public class NotOutputBufferException : ApplicationException
[<System.Serializable>]
type NotOutputBufferException = class
    inherit ApplicationException
Public Class NotOutputBufferException
Inherits ApplicationException
Ereditarietà
NotOutputBufferException
Attributi

Esempio

Il seguente esempio di codice genera 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();  
}  
}  
}  

Commenti

I seguenti metodi sono limitati agli PipelineBuffer oggetti in Output modalità:

Costruttori

Nome Descrizione
NotOutputBufferException()

Inizializza una nuova istanza della classe NotOutputBufferException.

Si applica a