This method sets the ActiveArtivact's values from a RSAPI Artifact DTO.
Namespace: kCura.Relativity.Client
Assembly: kCura.Relativity.Client (in kCura.Relativity.Client.dll) Version: 640db774aa42dfbe1785add27fbb41844ec5c7d4
Syntax
public static void SetActiveArtifactFromRSAPI( this EventHandlerBase eventHandler, Artifact rsapiArtifact )
Parameters
- eventHandler
- Type: EventHandlerBase
The Event Handler. - rsapiArtifact
- Type: kCura.Relativity.Client.Artifact
The RSAPI Artifact DTO.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type EventHandlerBase. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).Exceptions
Exception | Condition |
---|---|
InvalidOperationException | The Event Handler ActiveArtifact cannot change it's Worksapce, ArtifactID, or Artifact Type. |
See Also