未验证 提交 97d43229 编写于 作者: O openharmony_ci 提交者: Gitee

!22327 [翻译完成】#I7MF6P

Merge pull request !22327 from Annie_wang/PR21061
...@@ -293,14 +293,6 @@ Sets the size of the data contained in this **MessageSequence** object. ...@@ -293,14 +293,6 @@ Sets the size of the data contained in this **MessageSequence** object.
| ------ | ------ | ---- | ------ | | ------ | ------ | ---- | ------ |
| size | number | Yes | Data size to set, in bytes.| | size | number | Yes | Data size to set, in bytes.|
**Error codes**
For details about the error codes, see [RPC Error Codes](../errorcodes/errorcode-rpc.md).
| ID| Error Message|
| -------- | -------- |
| 1900009 | write data to message sequence failed |
**Example** **Example**
```ts ```ts
...@@ -334,7 +326,6 @@ For details about the error codes, see [RPC Error Codes](../errorcodes/errorcode ...@@ -334,7 +326,6 @@ For details about the error codes, see [RPC Error Codes](../errorcodes/errorcode
| ID| Error Message| | ID| Error Message|
| -------- | -------- | | -------- | -------- |
| 1900009 | write data to message sequence failed |
| 1900011 | parcel memory alloc failed | | 1900011 | parcel memory alloc failed |
**Example** **Example**
...@@ -461,12 +452,6 @@ Moves the read pointer to the specified position. ...@@ -461,12 +452,6 @@ Moves the read pointer to the specified position.
| ------ | ------ | ---- | ------- | | ------ | ------ | ---- | ------- |
| pos | number | Yes | Position from which data is to read.| | pos | number | Yes | Position from which data is to read.|
**Error codes**
| ID| Error Message|
| -------- | -------- |
| 1900010 | read data from message sequence failed |
**Example** **Example**
```ts ```ts
...@@ -499,12 +484,6 @@ Moves the write pointer to the specified position. ...@@ -499,12 +484,6 @@ Moves the write pointer to the specified position.
| ------ | ------ | ---- | ----- | | ------ | ------ | ---- | ----- |
| pos | number | Yes | Position from which data is to write.| | pos | number | Yes | Position from which data is to write.|
**Error codes**
| ID| Error Message|
| -------- | -------- |
| 1900009 | write data to message sequence failed |
**Example** **Example**
```ts ```ts
...@@ -2945,8 +2924,8 @@ Writes an anonymous shared object to this **MessageSequence** object. ...@@ -2945,8 +2924,8 @@ Writes an anonymous shared object to this **MessageSequence** object.
For details about the error codes, see [RPC Error Codes](../errorcodes/errorcode-rpc.md). For details about the error codes, see [RPC Error Codes](../errorcodes/errorcode-rpc.md).
| ID| Error Message| | ID| Error Message|
| -------- | -------- | | -------- | ------- |
| 1900009 | write data to message sequence failed | | 1900003 | write to ashmem failed |
**Example** **Example**
...@@ -2979,7 +2958,7 @@ Reads the anonymous shared object from this **MessageSequence** object. ...@@ -2979,7 +2958,7 @@ Reads the anonymous shared object from this **MessageSequence** object.
| Type | Description | | Type | Description |
| ------ | ------------------ | | ------ | ------------------ |
| Ashmem | Anonymous share object read.| | Ashmem | Anonymous share object obtained.|
**Error codes** **Error codes**
...@@ -2987,7 +2966,7 @@ For details about the error codes, see [RPC Error Codes](../errorcodes/errorcode ...@@ -2987,7 +2966,7 @@ For details about the error codes, see [RPC Error Codes](../errorcodes/errorcode
| ID| Error Message| | ID| Error Message|
| -------- | -------- | | -------- | -------- |
| 1900010 | read data from message sequence failed | | 1900004 | read from ashmem failed |
**Example** **Example**
...@@ -3091,7 +3070,7 @@ Reads raw data from this **MessageSequence** object. ...@@ -3091,7 +3070,7 @@ Reads raw data from this **MessageSequence** object.
| Type | Description | | Type | Description |
| -------- | ------------------------------ | | -------- | ------------------------------ |
| number[] | Raw data read, in bytes.| | number[] | Raw data obtained, in bytes.|
**Error codes** **Error codes**
...@@ -5960,7 +5939,7 @@ For details about the error codes, see [RPC Error Codes](../errorcodes/errorcode ...@@ -5960,7 +5939,7 @@ For details about the error codes, see [RPC Error Codes](../errorcodes/errorcode
| ID| Error Message| | ID| Error Message|
| -------- | -------- | | -------- | -------- |
| 1900005 | only proxy object permitted | | 1900008 | proxy or remote object is invalid |
### addDeathrecipient<sup>(deprecated)</sup> ### addDeathrecipient<sup>(deprecated)</sup>
...@@ -6006,7 +5985,7 @@ For details about the error codes, see [RPC Error Codes](../errorcodes/errorcode ...@@ -6006,7 +5985,7 @@ For details about the error codes, see [RPC Error Codes](../errorcodes/errorcode
| ID| Error Message| | ID| Error Message|
| -------- | -------- | | -------- | -------- |
| 1900005 | only proxy object permitted | | 1900008 | proxy or remote object is invalid |
### removeDeathRecipient<sup>(deprecated)</sup> ### removeDeathRecipient<sup>(deprecated)</sup>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册