ResultCollection.Add Method (Int32, ErrInfo, KeyType)
Note: The Microsoft UDDI SDK is not supported by or included in Microsoft Windows versions after Microsoft Windows Server 7. The Microsoft UDDI V3 SDK is included with Microsoft BizTalk Server. For more information about the Microsoft UDDI V3 SDK, see Microsoft BizTalk Server documentation
Adds a Result object to the collection from the specified error number, ErrInfo object and KeyType enumeration member.
Namespace: Microsoft.Uddi
Assembly: microsoft.uddi (in microsoft.uddi.dll)
Usage
Visual Basic |
---|
Dim instance As ResultCollection Dim errNo As Integer Dim errInfo As ErrInfo Dim keyType As KeyType Dim returnValue As Integer returnValue = instance.Add(errNo, errInfo, keyType) |
Syntax
'Declaration
PublicFunctionAdd ( _
errNoAsInteger, _
errInfoAsErrInfo, _
keyTypeAsKeyType _
) AsInteger
publicintAdd (
interrNo,
ErrInfoerrInfo,
KeyTypekeyType
)
public:
intAdd (
interrNo,
ErrInfo^ errInfo,
KeyTypekeyType
)
publicintAdd (
interrNo,
ErrInfoerrInfo,
KeyTypekeyType
)
publicfunctionAdd (
errNo : int,
errInfo : ErrInfo,
keyType : KeyType
) : int
Parameters
- errNo
Contains the error number that will be used for the Result.ErrNum property.
- errInfo
Contains an ErrInfo object that will be used for the Result.ErrInfo property.
- keyType
Contains one of the KeyType enumeration members that will be used for Result.KeyType property.
Return Value
The zero-based index of the item in the collection.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Target Platforms
Windows Server 2008, Windows Server 2003, Windows XP Professional, Windows Vista, Windows Server 2003 R2, Windows XP
See Also
Reference
ResultCollection Class
ResultCollection Members
Microsoft.Uddi Namespace
Result Class
ErrInfo Class
KeyType Enumeration