Share via


ParametersInConsumerInitEventArgs Class

The ParametersInConsumerInitEventArgs class provides an array of parameter property values to the ParametersInConsumerInit initialization event of the IParametersInConsumer interface.

System.Object

   System.EventArgs

      Microsoft.SharePoint.WebPartPages.Communication.InitEventArgs

         Microsoft.SharePoint.WebPartPages.Communication.ParametersInConsumerInitEventArgs

Public Constructors

The following table shows the constructors of the ParametersInConsumerInitEventArgs class and a brief description of each.

Name Description
ParametersInConsumerInitEventArgs Initializes a new instance of the ParametersInConsumerInitEventArgs class.

Public Properties

The following table shows the properties of the ParametersInConsumerInitEventArgs class and a brief description of each.

Name Description
ParameterInProperties Gets or sets the list of parameter properties for the ParametersInConsumerInit event. The list is an array of ParameterInProperty objects, each of which corresponds to a parameter. The number and order of parameters contained in this array must match those specified in the ParametersInReadyEventArgs argument of the ParametersInReady event.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread safe.

Example

The following code example shows an overridden PartCommunicationInit method that creates an instance of the ParametersInConsumerInitEventArgs class to send when the ParametersInConsumerInit event occurs. This code example is part of a larger example provided for the IParametersInConsumer interface.

Requirements

Namespace: Microsoft.SharePoint.WebPartPages.Communication

Platforms: Microsoft Windows Server 2003

Assembly: Windows SharePoint Services (in Microsoft.SharePoint.dll)

Security: Code Access Security. In addition, the WebPartPermissions.Connections permission is required to use this member.