Freigeben über


IVsDataObjectChangeEventsBroker.RaiseObjectChanged Method (Int32, String, array<Object[], IDictionary<String, Object>, array<Object , IDictionary<String, Object>)

Raises the ObjectChanged event or adds the event to the specified event group.

Namespace:  Microsoft.VisualStudio.Data.Services
Assembly:  Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)

Syntax

'Declaration
Sub RaiseObjectChanged ( _
    groupId As Integer, _
    typeName As String, _
    identifier As Object(), _
    propertyValues As IDictionary(Of String, Object), _
    newIdentifier As Object(), _
    newPropertyValues As IDictionary(Of String, Object) _
)
void RaiseObjectChanged(
    int groupId,
    string typeName,
    Object[] identifier,
    IDictionary<string, Object> propertyValues,
    Object[] newIdentifier,
    IDictionary<string, Object> newPropertyValues
)
void RaiseObjectChanged(
    int groupId, 
    String^ typeName, 
    array<Object^>^ identifier, 
    IDictionary<String^, Object^>^ propertyValues, 
    array<Object^>^ newIdentifier, 
    IDictionary<String^, Object^>^ newPropertyValues
)
abstract RaiseObjectChanged : 
        groupId:int * 
        typeName:string * 
        identifier:Object[] * 
        propertyValues:IDictionary<string, Object> * 
        newIdentifier:Object[] * 
        newPropertyValues:IDictionary<string, Object> -> unit 
function RaiseObjectChanged(
    groupId : int, 
    typeName : String, 
    identifier : Object[], 
    propertyValues : IDictionary<String, Object>, 
    newIdentifier : Object[], 
    newPropertyValues : IDictionary<String, Object>
)

Parameters

  • groupId
    Type: System.Int32
    A numerical value representing the event group identifier. Specify 0 to avoid event groups and raise the event immediately.
  • typeName
    Type: System.String
    The name of the type of the data object for which to raise the event.
  • identifier
    Type: array<System.Object[]
    An array containing identifier parts that uniquely identify the old data object.
  • newIdentifier
    Type: array<System.Object[]
    An array containing identifier parts that uniquely identify the new data object.

Exceptions

Exception Condition
ArgumentOutOfRangeException

The groupId parameter is less than zero, or is different than zero and greater than the count of existing event groups.

ArgumentException

Invalid group ID. The group ID could not be validated.

.NET Framework Security

See Also

Reference

IVsDataObjectChangeEventsBroker Interface

RaiseObjectChanged Overload

Microsoft.VisualStudio.Data.Services Namespace