NotOutputBufferException Classe
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
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. |