NotOutputBufferException Class
The exception that is thrown when a method that is restricted to Output objects is called on an InputPipelineBuffer.
Espacio de nombres: Microsoft.SqlServer.Dts.Pipeline
Ensamblado: Microsoft.SqlServer.PipelineHost (in microsoft.sqlserver.pipelinehost.dll)
Sintaxis
'Declaración
<SerializableAttribute> _
Public Class NotOutputBufferException
Inherits ApplicationException
[SerializableAttribute]
public class NotOutputBufferException : ApplicationException
[SerializableAttribute]
public ref class NotOutputBufferException : public ApplicationException
/** @attribute SerializableAttribute() */
public class NotOutputBufferException extends ApplicationException
SerializableAttribute
public class NotOutputBufferException extends ApplicationException
Notas
The following methods are restricted to PipelineBuffer objects in Output mode:
Inheritance Hierarchy
System.Object
System.Exception
System.ApplicationException
Microsoft.SqlServer.Dts.Pipeline.NotOutputBufferException
Ejemplo
The following code example generates a 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();
}
}
}
Seguridad para subprocesos
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Plataformas
Plataformas de desarrollo
Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.
Plataformas de destino
Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.
Vea también
Referencia
NotOutputBufferException Members
Microsoft.SqlServer.Dts.Pipeline Namespace