ITeamProjectCollectionServicing.AddServicingOperation Method (Stream)
Adds a new servicing operation to the configuration database. All servicing step groups specified in the Xml file must be added to the configuration database before calling this method.
Namespace: Microsoft.TeamFoundation.Framework.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Declaration
Sub AddServicingOperation ( _
xmlStream As Stream _
)
void AddServicingOperation(
Stream xmlStream
)
void AddServicingOperation(
Stream^ xmlStream
)
abstract AddServicingOperation :
xmlStream:Stream -> unit
function AddServicingOperation(
xmlStream : Stream
)
Parameters
xmlStream
Type: System.IO.StreamA stream for an Xml file that defines servicing operation.
Exceptions
Exception | Condition |
---|---|
ServicingOperationAlreadyExistsException | An operation with the same name already exists the configuration database. |
ServicingStepGroupNotFoundException | At least one servicing step group is not defined in the configuration database. |
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
ITeamProjectCollectionServicing Interface