WebPart.RegisterInterface Method

Definition

Overloads

RegisterInterface(String, String, Int32, ConnectionRunAt, Object, String, String, String)
RegisterInterface(String, String, Int32, ConnectionRunAt, Object, String, String, String, Boolean)

RegisterInterface(String, String, Int32, ConnectionRunAt, Object, String, String, String)

Warning

This API is now obsolete.

protected:
 void RegisterInterface(System::String ^ interfaceName, System::String ^ interfaceType, int maxConnections, Microsoft::SharePoint::WebPartPages::Communication::ConnectionRunAt runAtOptions, System::Object ^ interfaceObject, System::String ^ interfaceClientReference, System::String ^ menuLabel, System::String ^ description);
[System.Obsolete("Use ConnectionProvider or ConnectionConsumer attribute to create ConnectionPoint instead.")]
protected void RegisterInterface (string interfaceName, string interfaceType, int maxConnections, Microsoft.SharePoint.WebPartPages.Communication.ConnectionRunAt runAtOptions, object interfaceObject, string interfaceClientReference, string menuLabel, string description);
member this.RegisterInterface : string * string * int * Microsoft.SharePoint.WebPartPages.Communication.ConnectionRunAt * obj * string * string * string -> unit
Protected Sub RegisterInterface (interfaceName As String, interfaceType As String, maxConnections As Integer, runAtOptions As ConnectionRunAt, interfaceObject As Object, interfaceClientReference As String, menuLabel As String, description As String)

Parameters

interfaceName
String
interfaceType
String
maxConnections
Int32
runAtOptions
ConnectionRunAt
interfaceObject
Object
interfaceClientReference
String
menuLabel
String
description
String
Attributes

RegisterInterface(String, String, Int32, ConnectionRunAt, Object, String, String, String, Boolean)

Warning

This API is now obsolete.

protected:
 void RegisterInterface(System::String ^ interfaceName, System::String ^ interfaceTypeName, int maxConnections, Microsoft::SharePoint::WebPartPages::Communication::ConnectionRunAt runAtOptions, System::Object ^ interfaceObject, System::String ^ interfaceClientReference, System::String ^ menuLabel, System::String ^ description, bool allowCrossPageConnection);
[System.Obsolete("Use ConnectionProvider or ConnectionConsumer attribute to create ConnectionPoint instead.")]
protected void RegisterInterface (string interfaceName, string interfaceTypeName, int maxConnections, Microsoft.SharePoint.WebPartPages.Communication.ConnectionRunAt runAtOptions, object interfaceObject, string interfaceClientReference, string menuLabel, string description, bool allowCrossPageConnection);
member this.RegisterInterface : string * string * int * Microsoft.SharePoint.WebPartPages.Communication.ConnectionRunAt * obj * string * string * string * bool -> unit
Protected Sub RegisterInterface (interfaceName As String, interfaceTypeName As String, maxConnections As Integer, runAtOptions As ConnectionRunAt, interfaceObject As Object, interfaceClientReference As String, menuLabel As String, description As String, allowCrossPageConnection As Boolean)

Parameters

interfaceName
String
interfaceTypeName
String
maxConnections
Int32
runAtOptions
ConnectionRunAt
interfaceObject
Object
interfaceClientReference
String
menuLabel
String
description
String
allowCrossPageConnection
Boolean
Attributes

Applies to