MediaEntryAttribute 클래스
지정된 클래스가 미디어 링크 항목으로 처리됨을 나타냅니다.
상속 계층
System.Object
System.Attribute
System.Data.Services.Client.MediaEntryAttribute
네임스페이스: System.Data.Services.Client
어셈블리: Microsoft.Data.Services.Client(Microsoft.Data.Services.Client.dll)
구문
‘선언
<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple := False, Inherited := True)> _
Public NotInheritable Class MediaEntryAttribute _
Inherits Attribute
‘사용 방법
Dim instance As MediaEntryAttribute
[AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
public sealed class MediaEntryAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::Class, AllowMultiple = false, Inherited = true)]
public ref class MediaEntryAttribute sealed : public Attribute
[<SealedAttribute>]
[<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = false, Inherited = true)>]
type MediaEntryAttribute =
class
inherit Attribute
end
public final class MediaEntryAttribute extends Attribute
MediaEntryAttribute 유형에서 다음 멤버를 표시합니다.
생성자
이름 | 설명 | |
---|---|---|
![]() |
MediaEntryAttribute | MediaEntryAttribute 의 새 인스턴스를 만듭니다. |
맨 위로 이동
속성
이름 | 설명 | |
---|---|---|
![]() |
MediaMemberName | 일반적으로 이진 데이터인 미디어를 보유하는 클래스에 대한 속성의 이름입니다. |
![]() |
TypeId | (Attribute에서 상속됨) |
맨 위로 이동
메서드
이름 | 설명 | |
---|---|---|
![]() |
Equals | (Attribute에서 상속됨) |
![]() |
Finalize | (Object에서 상속됨) |
![]() |
GetHashCode | (Attribute에서 상속됨) |
![]() |
GetType | (Object에서 상속됨) |
![]() |
IsDefaultAttribute | (Attribute에서 상속됨) |
![]() |
Match | (Attribute에서 상속됨) |
![]() |
MemberwiseClone | (Object에서 상속됨) |
![]() |
ToString | (Object에서 상속됨) |
맨 위로 이동
명시적 인터페이스 구현
이름 | 설명 | |
---|---|---|
![]() ![]() |
_Attribute.GetIDsOfNames | (Attribute에서 상속됨) |
![]() ![]() |
_Attribute.GetTypeInfo | (Attribute에서 상속됨) |
![]() ![]() |
_Attribute.GetTypeInfoCount | (Attribute에서 상속됨) |
![]() ![]() |
_Attribute.Invoke | (Attribute에서 상속됨) |
맨 위로 이동
주의
클래스는 이진 데이터 및 해당 이진 데이터에 대한 메타데이터를 처리하는 AtomPub 프로토콜인 미디어 링크 항목으로 처리됩니다.
이 특성으로 표시된 형식이 SaveChanges가 호출될 때 동작을 변경했습니다. 미디어 속성은 미디어 리소스라고도 합니다. 저장 시 MediaMemberName 속성으로 표시된 형식의 미디어 속성은 POST 요청에 의해 URI /<EntitySet>/$value에 삽입됩니다.
POST 후 이진 콘텐츠인 MediaMemberName 속성이 아닌 형식에 대한 모든 속성을 포함하는 PUT 요청이 URI /<EntitySet>(<key>)에 전송됩니다.
특성 사용에 대한 자세한 내용은 Extending Metadata Using Attributes을 참조하십시오.
스레드 보안
이 유형의 모든 공용 static(Visual Basic에서는 Shared) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.