首页 / dm / oaVCMessageType

oaVCMessageType

模块: oapy._oa._dm 导入: from oapy._oa import _dm

概览

oaVCMessageTypeoapy 中可用,可通过 _dm 模块访问。

本页汇总 oaVCMessageType 当前在 oapy 中可用的 Python 接口。

详细说明

The oaVCMessageType class is an enum wrapper class for oaVCMessageTypeEnum values。 See Enum Wrappers in the Programmers Guide for a discussion of enum wrappers。 enum oaVCMessageTypeEnum This enumeration represents the types of messages that are passed to the client via the IVCMessageObserver interface。 Enumeration values: oacVCMsgTypeInfo "Info" The message is informational only。 This is typically used as the message for information queried from the VC system, for example log information on a controlled file。 oacVCMsgTypeWarning "Warning" This value of the message type is used when the message being sent to the client represents a warning being issued by the VC system。 oacVCMsgTypeError "Error" This value of the message type is used when the message being sent to the client represents an error being issued by the VC system。 oacVCMsgTypeStatus "Status" This value is used to indicate that the message being sent to the client represents status information。 For example, if files are being checked out as a result of the current operation, the VC system may send the paths to those files as messages using this message type。 oacVCMsgTypeQueryOk "QueryOk" The message is a request for an Ok or Cancel decision from the client。 When this message type is used, the return value of IVCMessageObserver::onMessageOut() is checked by the VC system。 One of the values found in oaVCObserverResultEnum is expected, and used to determine if the current operation should continue or be aborted。

构造函数

_dm.oaVCMessageType(valueIn)

obj = _dm.oaVCMessageType(valueIn)

_dm.oaVCMessageType(name)

obj = _dm.oaVCMessageType(name)

方法总览

状态 Python 调用
obj.getName()

方法说明

obj.getName()

绑定状态: 已绑定

Python 调用: obj.getName()

This function returns the name of the oaVCMessageTypeEnum value set on this oaVCMessageType wrapper object。

Python 示例

from oapy._oa import _dm

# assume obj is a oaVCMessageType
obj.getName()